From f12663a4ce2a61d5b1f4975dcf27d9f2adaa128e Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Wed, 5 Oct 2005 22:36:33 +0000 Subject: [PATCH] call circuit_expire_all_dirty_circs() on do_hup(). there, now we use it. svn:r5202 --- src/or/main.c | 6 ++++++ 1 file changed, 6 insertions(+) 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();