aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_edge.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2011-04-26 19:55:34 -0400
committerNick Mathewson <nickm@torproject.org>2011-04-27 00:01:41 -0400
commitf962dda8c188ebe17be1ad7d6548f303b6425943 (patch)
treee35979035dfd0f0788f35bc21b572f4975f14c0b /src/or/connection_edge.h
parent8ee92f28e056fd32f1faef62ae1523ad4d553a64 (diff)
downloadtor-f962dda8c188ebe17be1ad7d6548f303b6425943.tar.gz
tor-f962dda8c188ebe17be1ad7d6548f303b6425943.zip
revert most of ef81649d2fc
Now we believe it to be the case that we never build a circuit for our stream that has an unsuitable exit, so we'll never need to use such a circuit. The risk is that we have some code that builds the circuit, but now we refuse to use it, meaning we just build a bazillion circuits and ignore them all.
Diffstat (limited to 'src/or/connection_edge.h')
-rw-r--r--src/or/connection_edge.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/connection_edge.h b/src/or/connection_edge.h
index c4ae46751d..70d0dd2713 100644
--- a/src/or/connection_edge.h
+++ b/src/or/connection_edge.h
@@ -47,8 +47,7 @@ int connection_exit_begin_conn(cell_t *cell, circuit_t *circ);
int connection_exit_begin_resolve(cell_t *cell, or_circuit_t *circ);
void connection_exit_connect(edge_connection_t *conn);
int connection_edge_is_rendezvous_stream(edge_connection_t *conn);
-int connection_ap_can_use_exit(edge_connection_t *conn, routerinfo_t *exit,
- int excluded_means_no);
+int connection_ap_can_use_exit(edge_connection_t *conn, routerinfo_t *exit);
void connection_ap_expire_beginning(void);
void connection_ap_attach_pending(void);
void connection_ap_fail_onehop(const char *failed_digest,