aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Ransom <rransom.8774@gmail.com>2012-01-04 09:37:49 -0800
committerRobert Ransom <rransom.8774@gmail.com>2012-01-04 09:37:49 -0800
commit0bd53b8d87a5fd4691530b8cb54181037062b949 (patch)
tree6a9cfe106c834cd92b2563f1af2be45b75e809ef
parent836161c56062686d274abf4218779c4db5c8cf5c (diff)
downloadtor-0bd53b8d87a5fd4691530b8cb54181037062b949.tar
tor-0bd53b8d87a5fd4691530b8cb54181037062b949.tar.gz
Verbotify documentation comments for the #1297-fix flags
-rw-r--r--src/or/or.h17
1 files changed, 15 insertions, 2 deletions
diff --git a/src/or/or.h b/src/or/or.h
index e246ac42e..2acb62101 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -2611,11 +2611,24 @@ typedef struct origin_circuit_t {
* according to our current circuit-build timeout, but which has
* been kept around because it might still succeed in connecting to
* its destination, and which is not a fully-connected rendezvous
- * circuit. */
+ * circuit.
+ *
+ * (We clear this flag for client-side rendezvous circuits when they
+ * are 'joined' to the other side's rendezvous circuit, so that
+ * connection_ap_handshake_attach_circuit can put client streams on
+ * the circuit. We also clear this flag for service-side rendezvous
+ * circuits when they are 'joined' to a client's rend circ, but only
+ * for symmetry with the client case. Client-side introduction
+ * circuits are closed when we get a joined rend circ, and
+ * service-side introduction circuits never have this flag set.) */
unsigned int hs_circ_has_timed_out : 1;
/** Set iff this is a service-side rendezvous circuit for which a
- * new connection attempt has been launched. */
+ * new connection attempt has been launched. We consider launching
+ * a new service-side rend circ to a client when the previous one
+ * fails; now that we don't necessarily close a service-side rend
+ * circ when we launch a new one to the same client, this flag keeps
+ * us from launching two retries for the same failed rend circ. */
unsigned int hs_service_side_rend_circ_has_been_relaunched : 1;
/** What commands were sent over this circuit that decremented the