tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 6033538ac3466557a3453436a1a4fc98d6c581ab
parent ea929e8456d065a25d7eb5e2e0e41e0f303ebe9d
Author: Nick Mathewson <nickm@torproject.org>
Date:   Mon, 11 Dec 2017 12:59:23 -0500

In control.c, reset the bootstrapping status on shutdown

Part of #24587

Diffstat:
Msrc/or/control.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git 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