diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-04-14 21:40:50 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-04-14 21:40:50 +0000 |
commit | 37255d24bcb4a51bc65766c783385ce1dc55fdc2 (patch) | |
tree | 601c30a0780f784e1e69e235ec34c5a69ce8c14d /src/or/or.h | |
parent | 94f126bca37ceaa4b61f2d351074ea4ccbcdacd9 (diff) | |
download | tor-37255d24bcb4a51bc65766c783385ce1dc55fdc2.tar.gz tor-37255d24bcb4a51bc65766c783385ce1dc55fdc2.zip |
Retry non-final-hop rendezvous failures
svn:r1625
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index d91cd1207d..8bb41f6d9f 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -500,6 +500,8 @@ typedef struct { char *chosen_exit; /* cpath to append after rendezvous. */ struct crypt_path_t *pending_final_cpath; + /* How many times has building a circuit for this task failed? */ + int failure_count; } cpath_build_state_t; /* struct for a path (circuit) through the network */ @@ -1095,6 +1097,7 @@ void rend_service_intro_is_ready(circuit_t *circuit); int rend_service_intro_established(circuit_t *circuit, const char *request, int request_len); void rend_service_rendezvous_is_ready(circuit_t *circuit); int rend_service_introduce(circuit_t *circuit, const char *request, int request_len); +void rend_service_relaunch_rendezvous(circuit_t *oldcirc); int rend_service_set_connection_addr_port(connection_t *conn, circuit_t *circ); void rend_service_dump_stats(int severity); |