]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
mark the helper node as down if we time-out on the circuit handshake
authorRoger Dingledine <arma@torproject.org>
Sun, 11 Dec 2005 11:55:41 +0000 (11:55 +0000)
committerRoger Dingledine <arma@torproject.org>
Sun, 11 Dec 2005 11:55:41 +0000 (11:55 +0000)
with him.

svn:r5567

src/or/circuituse.c

index 02fa55d72d7252c934106bcfe7c1bdc56ee18894..44d4559c9e6b981f8e333067d375a243497f191f 100644 (file)
@@ -665,6 +665,7 @@ circuit_build_failed(circuit_t *circ)
       info(LD_OR, "Our circuit failed to get a response from the first hop (%s:%d). I'm going to try to rotate to a better connection.",
            circ->n_conn->address, circ->n_conn->port);
       circ->n_conn->is_obsolete = 1;
+      helper_node_set_status(circ->n_conn->identity_digest, 0);
     }
   }