[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] explain why 0.1.1.9-alpha-cvs is a special version.



Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or

Modified Files:
	circuitbuild.c 
Log Message:
explain why 0.1.1.9-alpha-cvs is a special version.


Index: circuitbuild.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/circuitbuild.c,v
retrieving revision 1.173
retrieving revision 1.174
diff -u -d -r1.173 -r1.174
--- circuitbuild.c	10 Dec 2005 09:36:25 -0000	1.173
+++ circuitbuild.c	10 Dec 2005 21:07:21 -0000	1.174
@@ -344,6 +344,9 @@
          DIGEST_LEN);
   n_conn = connection_or_get_by_identity_digest(
          firsthop->extend_info->identity_digest);
+  /* If we don't have an open conn, or the conn we have is obsolete
+   * (i.e. old or broken) and the other side will let us make a second
+   * connection without dropping it immediately... */
   if (!n_conn || n_conn->state != OR_CONN_STATE_OPEN ||
       (n_conn->is_obsolete &&
        router_digest_version_as_new_as(firsthop->extend_info->identity_digest,
@@ -669,6 +672,9 @@
   id_digest = cell->payload+RELAY_HEADER_SIZE+4+2+ONIONSKIN_CHALLENGE_LEN;
   n_conn = connection_or_get_by_identity_digest(id_digest);
 
+  /* If we don't have an open conn, or the conn we have is obsolete
+   * (i.e. old or broken) and the other side will let us make a second
+   * connection without dropping it immediately... */
   if (!n_conn || n_conn->state != OR_CONN_STATE_OPEN ||
     (n_conn->is_obsolete &&
      router_digest_version_as_new_as(id_digest,"0.1.1.9-alpha-cvs"))) {