diff options
author | Roger Dingledine <arma@torproject.org> | 2005-12-11 11:55:41 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-12-11 11:55:41 +0000 |
commit | 598116944026e5237b12a15697a3caf4aa47b515 (patch) | |
tree | d4a89e12845bb3df2bffe684a15f3f84951ce3c5 /src/or/circuituse.c | |
parent | dded1dd8bd2d2ffff6500bc2b5df5661256f0348 (diff) | |
download | tor-598116944026e5237b12a15697a3caf4aa47b515.tar.gz tor-598116944026e5237b12a15697a3caf4aa47b515.zip |
mark the helper node as down if we time-out on the circuit handshake
with him.
svn:r5567
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r-- | src/or/circuituse.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } } |