aboutsummaryrefslogtreecommitdiff
path: root/src/or/networkstatus.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-10-22 17:31:22 +0000
committerNick Mathewson <nickm@torproject.org>2007-10-22 17:31:22 +0000
commit4bab46d5d797c9a2f88fbf5dfb9ea0d91d384ee7 (patch)
treee07ac54d2e4f4287254ae12d071533c4805518ac /src/or/networkstatus.c
parent25a68907a187eb4272ecd633051267176b5a87ae (diff)
downloadtor-4bab46d5d797c9a2f88fbf5dfb9ea0d91d384ee7.tar.gz
tor-4bab46d5d797c9a2f88fbf5dfb9ea0d91d384ee7.zip
r16041@catbus: nickm | 2007-10-22 13:02:14 -0400
Reattempt certificate downloads immediately on failure, as appropriate. svn:r12106
Diffstat (limited to 'src/or/networkstatus.c')
-rw-r--r--src/or/networkstatus.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c
index 2735203dc5..a9efd8d92e 100644
--- a/src/or/networkstatus.c
+++ b/src/or/networkstatus.c
@@ -843,6 +843,13 @@ update_networkstatus_downloads(time_t now)
if (dirserver_mode(options))
update_v2_networkstatus_cache_downloads(now);
update_consensus_networkstatus_downloads(now);
+ update_certificate_downloads(now);
+}
+
+/**DOCDOC */
+void
+update_certificate_downloads(time_t now)
+{
if (consensus_waiting_for_certs)
authority_certs_fetch_missing(consensus_waiting_for_certs, now);
else