diff options
author | Roger Dingledine <arma@torproject.org> | 2005-03-19 04:38:59 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-03-19 04:38:59 +0000 |
commit | ec7f232b242d4291219ed3cb8dc272d904d02c34 (patch) | |
tree | cc5768eea66aa789c9ef9b1c3fc2054c45a68283 /src/or/circuituse.c | |
parent | b004eda10c7ee5b67c5d764d4fe5b2569c8ce61a (diff) | |
download | tor-ec7f232b242d4291219ed3cb8dc272d904d02c34.tar.gz tor-ec7f232b242d4291219ed3cb8dc272d904d02c34.zip |
make hidden services more likely to work from the server-side
svn:r3781
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r-- | src/or/circuituse.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c index c91680dc87..b7e2f914dd 100644 --- a/src/or/circuituse.c +++ b/src/or/circuituse.c @@ -656,13 +656,10 @@ void circuit_build_failed(circuit_t *circ) { /* at Bob, connecting to rend point */ /* Don't increment failure count, since Alice may have picked * the rendezvous point maliciously */ - if (failed_at_last_hop) { - log_fn(LOG_INFO,"Couldn't connect to Alice's chosen rend point %s. Sucks to be Alice.", circ->build_state->chosen_exit_name); - } else { - log_fn(LOG_INFO,"Couldn't connect to Alice's chosen rend point %s, because an earlier node failed.", - circ->build_state->chosen_exit_name); - rend_service_relaunch_rendezvous(circ); - } + log_fn(LOG_INFO,"Couldn't connect to Alice's chosen rend point %s (%s hop failed).", + failed_at_last_hop?"last":"non-last", + circ->build_state->chosen_exit_name); + rend_service_relaunch_rendezvous(circ); break; default: /* Other cases are impossible, since this function is only called with |