From: Nick Mathewson Date: Mon, 11 Dec 2017 17:59:23 +0000 (-0500) Subject: In control.c, reset the bootstrapping status on shutdown X-Git-Tag: tor-0.3.4.1-alpha~237^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6033538ac3466557a3453436a1a4fc98d6c581ab;p=thirdparty%2Ftor.git In control.c, reset the bootstrapping status on shutdown Part of #24587 --- diff --git a/src/or/control.c b/src/or/control.c index cce5c7953b..0d63e3e3bc 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -7620,6 +7620,9 @@ control_free_all(void) tor_event_free(flush_queued_events_event); flush_queued_events_event = NULL; } + bootstrap_percent = BOOTSTRAP_STATUS_UNDEF; + notice_bootstrap_percent = 0; + bootstrap_problems = 0; } #ifdef TOR_UNIT_TESTS