]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Remove a duplicate call to update_microdesc_downloads()
authorGeorge Kadianakis <desnacked@riseup.net>
Wed, 25 Oct 2017 16:18:38 +0000 (19:18 +0300)
committerGeorge Kadianakis <desnacked@riseup.net>
Fri, 1 Dec 2017 12:13:22 +0000 (14:13 +0200)
This call happens before we update our entry guards, so it needs to be
removed for the fix to #23862 to work.

src/or/directory.c

index 534e3d61026dcba40f2bf34e3ab278eb5f9a43b2..48d912bd28d053e7051cab95d733c8821fe87afb 100644 (file)
@@ -2122,10 +2122,9 @@ connection_dir_client_reached_eof(dir_connection_t *conn)
     /* If we launched other fetches for this consensus, cancel them. */
     connection_dir_close_consensus_fetches(conn, flavname);
 
-    /* launches router downloads as needed */
+    /* update the list of routers and directory guards */
     routers_update_all_from_networkstatus(now, 3);
     update_microdescs_from_networkstatus(now);
-    update_microdesc_downloads(now);
     directory_info_has_arrived(now, 0, 0);
     if (authdir_mode_v3(get_options())) {
       sr_act_post_consensus(