summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-10-05 22:36:33 +0000
committerRoger Dingledine <arma@torproject.org>2005-10-05 22:36:33 +0000
commitf12663a4ce2a61d5b1f4975dcf27d9f2adaa128e (patch)
tree7286941d12345a9d27837648d9f7931a5672cf72
parent56be5a97064fac61b0fcd7826459e100c0856707 (diff)
downloadtor-f12663a4ce2a61d5b1f4975dcf27d9f2adaa128e.tar.gz
tor-f12663a4ce2a61d5b1f4975dcf27d9f2adaa128e.zip
call circuit_expire_all_dirty_circs() on do_hup().
there, now we use it. svn:r5202
-rw-r--r--src/or/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 3171a69211..d6a24112d9 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -943,6 +943,12 @@ do_hup(void)
log_fn(LOG_NOTICE, "Error reloading fingerprints. Continuing with old list.");
}
}
+
+ /* Rotate away from the old dirty circuits. This has to be done
+ * after we've read the new options, but before we start using
+ * circuits for directory fetches. */
+ circuit_expire_all_dirty_circs();
+
/* retry appropriate downloads */
router_reset_status_download_failures();
router_reset_descriptor_download_failures();