summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2017-10-25 19:18:38 +0300
committerGeorge Kadianakis <desnacked@riseup.net>2017-10-26 13:36:04 +0300
commit42a47c0e7da425a55b77aafe2dda2fea7563c761 (patch)
tree64b1afbc2ac3a153ab4084b1636a3a5f24c57141
parentcbc70437a7318f8e5abef0829ba8e02298ae53e2 (diff)
downloadtor-42a47c0e7da425a55b77aafe2dda2fea7563c761.tar.gz
tor-42a47c0e7da425a55b77aafe2dda2fea7563c761.zip
Remove a duplicate call to update_microdesc_downloads()
This call happens before we update our entry guards, so it needs to be removed for the fix to #23862 to work.
-rw-r--r--src/or/directory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 6470723cd8..7a1364bd7d 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -2669,11 +2669,11 @@ handle_response_fetch_consensus(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(
networkstatus_get_latest_consensus_by_flavor(FLAV_NS));