aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2016-07-18 15:31:55 +0000
committerAndrea Shepard <andrea@torproject.org>2016-08-10 03:34:54 +0000
commit05853485a4a57a3742ff1969640c4f9378091152 (patch)
tree330a0688333365c8371e872ca8685184c4888ba9 /src/or/routerlist.c
parent7e3e482dadf9d2e36299b0395e7d42b99a21c7d2 (diff)
downloadtor-05853485a4a57a3742ff1969640c4f9378091152.tar.gz
tor-05853485a4a57a3742ff1969640c4f9378091152.zip
Debug logging for router/consensus descriptor download resets
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r--src/or/routerlist.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index f87dbed145..d713fe4854 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -4465,6 +4465,10 @@ void
routerlist_retry_directory_downloads(time_t now)
{
(void)now;
+
+ log_debug(LD_GENERAL,
+ "In routerlist_retry_directory_downloads()");
+
router_reset_status_download_failures();
router_reset_descriptor_download_failures();
reschedule_directory_downloads();
@@ -5277,6 +5281,9 @@ update_extrainfo_downloads(time_t now)
void
router_reset_descriptor_download_failures(void)
{
+ log_debug(LD_GENERAL,
+ "In router_reset_descriptor_download_failures()");
+
networkstatus_reset_download_failures();
last_descriptor_download_attempted = 0;
if (!routerlist)