[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] In control.c, reset the bootstrapping status on shutdown



commit 6033538ac3466557a3453436a1a4fc98d6c581ab
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Mon Dec 11 12:59:23 2017 -0500

    In control.c, reset the bootstrapping status on shutdown
    
    Part of #24587
---
 src/or/control.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/or/control.c b/src/or/control.c
index cce5c7953..0d63e3e3b 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



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits