[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] mark the helper node as down if we time-out on the circuit ...
Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or
Modified Files:
circuituse.c
Log Message:
mark the helper node as down if we time-out on the circuit handshake
with him.
Index: circuituse.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/circuituse.c,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -d -r1.102 -r1.103
--- circuituse.c 10 Dec 2005 09:36:25 -0000 1.102
+++ circuituse.c 11 Dec 2005 11:55:41 -0000 1.103
@@ -665,6 +665,7 @@
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);
}
}