call circuit_expire_all_dirty_circs() on do_hup().

there, now we use it.


svn:r5202
This commit is contained in:
Roger Dingledine
2005-10-05 22:36:33 +00:00
parent 56be5a9706
commit f12663a4ce
+6
View File
@@ -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();