diff options
author | Roger Dingledine <arma@torproject.org> | 2005-10-05 22:36:33 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-10-05 22:36:33 +0000 |
commit | f12663a4ce2a61d5b1f4975dcf27d9f2adaa128e (patch) | |
tree | 7286941d12345a9d27837648d9f7931a5672cf72 /src/or/main.c | |
parent | 56be5a97064fac61b0fcd7826459e100c0856707 (diff) | |
download | tor-f12663a4ce2a61d5b1f4975dcf27d9f2adaa128e.tar tor-f12663a4ce2a61d5b1f4975dcf27d9f2adaa128e.tar.gz |
call circuit_expire_all_dirty_circs() on do_hup().
there, now we use it.
svn:r5202
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c index 3171a6921..d6a24112d 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(); |