mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
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
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user