diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-11-17 08:49:30 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-11-17 09:04:25 -0500 |
commit | 84b3350c83a995a7668c16cb06ae069664dc0633 (patch) | |
tree | db6fd22961f3b1a6239593b58cd5cb4ea7f1ee3e /src/or/connection_edge.h | |
parent | b1d56fc5890fb6d594e70520c09d040e9b2e1544 (diff) | |
download | tor-84b3350c83a995a7668c16cb06ae069664dc0633.tar.gz tor-84b3350c83a995a7668c16cb06ae069664dc0633.zip |
Be more conservative in scanning the list of pending streams
Now we only re-scan the list in the cases we did before: when we
have a new circuit that we should try attaching to, or when we have
added a new stream that we haven't tried to attach yet.
This is part of 17590.
Diffstat (limited to 'src/or/connection_edge.h')
-rw-r--r-- | src/or/connection_edge.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_edge.h b/src/or/connection_edge.h index 203099976f..86f3fe990c 100644 --- a/src/or/connection_edge.h +++ b/src/or/connection_edge.h @@ -65,7 +65,7 @@ int connection_ap_can_use_exit(const entry_connection_t *conn, const node_t *exit); void connection_ap_expire_beginning(void); void connection_ap_rescan_and_attach_pending(void); -void connection_ap_attach_pending(void); +void connection_ap_attach_pending(int retry); void connection_ap_mark_as_pending_circuit(entry_connection_t *entry_conn); void connection_ap_fail_onehop(const char *failed_digest, cpath_build_state_t *build_state); |