diff options
author | Roger Dingledine <arma@torproject.org> | 2006-09-18 04:59:15 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-09-18 04:59:15 +0000 |
commit | 0494e271e7cb7597e21846a0744b18505a5f1204 (patch) | |
tree | 89cd02d47a900eaf879a80e722b39aaa2693acf0 /src/or/circuituse.c | |
parent | 4920b9d1cc3a60277a67aa609ecec70ba917cdf7 (diff) | |
download | tor-0494e271e7cb7597e21846a0744b18505a5f1204.tar.gz tor-0494e271e7cb7597e21846a0744b18505a5f1204.zip |
good god, that was a bad idea. i've built 500 circuits in the past 5
minutes, trying to establish reachability of my unreachable server.
svn:r8415
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r-- | src/or/circuituse.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c index 2010aa4188..5ac48047df 100644 --- a/src/or/circuituse.c +++ b/src/or/circuituse.c @@ -653,12 +653,12 @@ circuit_testing_opened(origin_circuit_t *circ) static void circuit_testing_failed(origin_circuit_t *circ, int at_last_hop) { + if (server_mode(get_options()) && check_whether_orport_reachable()) + return; + log_info(LD_GENERAL, "Our testing circuit (to see if your ORPort is reachable) " - "has failed. Considering launching another one."); - - if (!circuit_enough_testing_circs()) - consider_testing_reachability(1, 0); + "has failed. I'll try again later."); /* These aren't used yet. */ (void)circ; |