mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
mark the helper node as down if we time-out on the circuit handshake
with him. svn:r5567
This commit is contained in:
parent
dded1dd8bd
commit
5981169440
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user