aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_or.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2010-09-28 22:32:38 -0400
committerRoger Dingledine <arma@torproject.org>2010-09-28 22:32:38 -0400
commit9997676802c140aceddb849090c7b3795fc83361 (patch)
tree66cdff441b840e2405f146bc6b32a37cce35849a /src/or/connection_or.h
parent7de1caa33f025db5474dba5f7e256d28c5ab4969 (diff)
downloadtor-9997676802c140aceddb849090c7b3795fc83361.tar
tor-9997676802c140aceddb849090c7b3795fc83361.tar.gz
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_or.h b/src/or/connection_or.h
index 717630217..216a9bd64 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);