r15960@catbus: nickm | 2007-10-19 12:30:17 -0400

Make authority_certs_fetch_missing() honor should_delay_dir_fetches()


svn:r12048
This commit is contained in:
Nick Mathewson 2007-10-19 16:41:30 +00:00
parent 140ef7d0f8
commit 53f9fe7dc5
2 changed files with 6 additions and 2 deletions

View File

@ -53,11 +53,12 @@ Things we'd like to do in 0.2.0.x:
- Delay consensus download retry when there's a unverified consensus we're
downloading the certs to check
- But don't delay forever.
- Make new download types comply with should_delay_dir_fetches()
o Make new download types comply with should_delay_dir_fetches()
- When DownloadExtraInfo is turned on for the first time, don't flip
out and download the ancient history of the universe.
o List IP addresses in certificates?
- Make the address in votes be an actual IP address.
o Make the address in votes be an actual IP address.
- Change 'mismatched digest' message to first check timestamps instead.
- Proposals:
. 101: Voting on the Tor Directory System (plus 103)

View File

@ -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,