From f43b9638e482b511deb09bf6579c5aa1315dc80c Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Tue, 23 Oct 2007 15:44:13 +0000 Subject: [PATCH] Don't complain that "your server has not managed to confirm that its ports are reachable" if we haven't been able to build any circuits yet. Bug found by spending four hours without a v3 consensus. svn:r12133 --- ChangeLog | 3 +++ src/or/main.c | 1 + 2 files changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index a0f33ed5ef..4ad8720609 100644 --- a/ChangeLog +++ b/ChangeLog @@ -106,6 +106,9 @@ Changes in version 0.2.0.9-alpha - 2007-10-?? - Don't try to download extrainfo documents when we're trying to fetch enough directory info to build a circuit: having enough info should get priority. + - Don't complain that "your server has not managed to confirm that its + ports are reachable" if we haven't been able to build any circuits + yet. Bug found by spending four hours without a v3 consensus. o Minor bugfixes (performance): - Base64 decoding was actually showing up on our profile when parsing diff --git a/src/or/main.c b/src/or/main.c index c3bb3c3f6f..3c0b4ae430 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -1153,6 +1153,7 @@ second_elapsed_callback(int fd, short event, void *args) if (server_mode(options) && !we_are_hibernating() && seconds_elapsed > 0 && + has_completed_circuit && stats_n_seconds_working / TIMEOUT_UNTIL_UNREACHABILITY_COMPLAINT != (stats_n_seconds_working+seconds_elapsed) / TIMEOUT_UNTIL_UNREACHABILITY_COMPLAINT) { -- 2.47.3