aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-10-19 16:41:30 +0000
committerNick Mathewson <nickm@torproject.org>2007-10-19 16:41:30 +0000
commit53f9fe7dc51fb5cecca0bd344ffb59063a98d5ac (patch)
tree00cd23c499098e847277682037cc423dd732d8ca /src
parent140ef7d0f88c85726fae59389b103f8ce0e12b1f (diff)
downloadtor-53f9fe7dc51fb5cecca0bd344ffb59063a98d5ac.tar
tor-53f9fe7dc51fb5cecca0bd344ffb59063a98d5ac.tar.gz
r15960@catbus: nickm | 2007-10-19 12:30:17 -0400
Make authority_certs_fetch_missing() honor should_delay_dir_fetches() svn:r12048
Diffstat (limited to 'src')
-rw-r--r--src/or/routerlist.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 27fb2dbf8..b2a12d28d 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -295,6 +295,9 @@ authority_certs_fetch_missing(networkstatus_vote_t *status, time_t now)
smartlist_t *missing_digests = smartlist_create();
char *resource = NULL;
+ if (should_delay_dir_fetches(get_options()))
+ return;
+
list_pending_downloads(pending, DIR_PURPOSE_FETCH_CERTIFICATE, "fp/");
if (status) {
SMARTLIST_FOREACH(status->voters, networkstatus_voter_info_t *, voter,