From: Roger Dingledine Date: Sun, 11 Dec 2005 11:55:41 +0000 (+0000) Subject: mark the helper node as down if we time-out on the circuit handshake X-Git-Tag: debian-version-0.1.1.10-alpha-1~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=598116944026e5237b12a15697a3caf4aa47b515;p=thirdparty%2Ftor.git mark the helper node as down if we time-out on the circuit handshake with him. svn:r5567 --- diff --git a/src/or/circuituse.c b/src/or/circuituse.c index 02fa55d72d..44d4559c9e 100644 --- a/src/or/circuituse.c +++ b/src/or/circuituse.c @@ -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); } }