From 0494e271e7cb7597e21846a0744b18505a5f1204 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Mon, 18 Sep 2006 04:59:15 +0000 Subject: 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 --- src/or/circuituse.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/or') diff --git a/src/or/circuituse.c b/src/or/circuituse.c index 2010aa418..5ac48047d 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; -- cgit v1.2.3