]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Add comment about bug4651 fix
authorNick Mathewson <nickm@torproject.org>
Mon, 5 Dec 2011 16:29:43 +0000 (11:29 -0500)
committerNick Mathewson <nickm@torproject.org>
Mon, 5 Dec 2011 16:29:43 +0000 (11:29 -0500)
src/or/circuituse.c

index 0bc416d0a9e042ad6c3673fd28a70e2bc1886c8f..bdff75cd5b494130072ab55e2d79de9368c4cd61 100644 (file)
@@ -1017,6 +1017,14 @@ circuit_has_opened(origin_circuit_t *circ)
   switch (TO_CIRCUIT(circ)->purpose) {
     case CIRCUIT_PURPOSE_C_ESTABLISH_REND:
       rend_client_rendcirc_has_opened(circ);
+      /* XXXX We'd like to set something like "can_try_clearing_isolation"
+       * here, so that we can change the isolation of this circuit (and maybe
+       * its purpose too) if it turns out that we no longer have any streams
+       * that want to use it.  But connection_ap_attach_pending() doesn't
+       * actually attach streams to a C_ESTABLISH_REND circuit-- streams
+       * don't get attached until the circuit is in C_REND_JOINED... so
+       * we can't clear isolation now.
+       */
       connection_ap_attach_pending();
       break;
     case CIRCUIT_PURPOSE_C_INTRODUCING: