diff options
author | Roger Dingledine <arma@torproject.org> | 2010-09-28 22:32:38 -0400 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2010-09-28 22:32:38 -0400 |
commit | 9997676802c140aceddb849090c7b3795fc83361 (patch) | |
tree | 66cdff441b840e2405f146bc6b32a37cce35849a /src/or/connection_or.h | |
parent | 7de1caa33f025db5474dba5f7e256d28c5ab4969 (diff) | |
download | tor-9997676802c140aceddb849090c7b3795fc83361.tar.gz tor-9997676802c140aceddb849090c7b3795fc83361.zip |
handle ugly edge case in retrying entrynodes
Specifically, a circ attempt that we'd launched while the network was
down could timeout after we've marked our entrynodes up, marking them
back down again. The fix is to annotate as bad the OR conns that were
around before we did the retry, so if a circuit that's attached to them
times out we don't do anything about it.
Diffstat (limited to 'src/or/connection_or.h')
-rw-r--r-- | src/or/connection_or.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_or.h b/src/or/connection_or.h index 717630217c..216a9bd648 100644 --- a/src/or/connection_or.h +++ b/src/or/connection_or.h @@ -18,7 +18,7 @@ or_connection_t *connection_or_get_for_extend(const char *digest, const tor_addr_t *target_addr, const char **msg_out, int *launch_out); -void connection_or_set_bad_connections(void); +void connection_or_set_bad_connections(const char *digest, int force); int connection_or_reached_eof(or_connection_t *conn); int connection_or_process_inbuf(or_connection_t *conn); |