|
@@ -5358,8 +5358,10 @@ update_extrainfo_downloads(time_t now)
|
|
|
smartlist_free(wanted);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
- * can retry any long-failed routers immediately.
|
|
|
+
|
|
|
+ * When we get a new consensus,
|
|
|
+ * routers_update_status_from_consensus_networkstatus() will reset the
|
|
|
+ * download statuses on the descriptors in that consensus.
|
|
|
*/
|
|
|
void
|
|
|
router_reset_descriptor_download_failures(void)
|
|
@@ -5371,6 +5373,8 @@ router_reset_descriptor_download_failures(void)
|
|
|
last_descriptor_download_attempted = 0;
|
|
|
if (!routerlist)
|
|
|
return;
|
|
|
+
|
|
|
+ * the consensus we currently have (or are about to have) */
|
|
|
SMARTLIST_FOREACH(routerlist->routers, routerinfo_t *, ri,
|
|
|
{
|
|
|
download_status_reset(&ri->cache_info.ei_dl_status);
|