summaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2017-10-25 19:18:38 +0300
committerGeorge Kadianakis <desnacked@riseup.net>2017-10-25 20:22:52 +0300
commitdfd3ed5bdc252ad2c3afed922e5dcd955eff1d68 (patch)
treebc11c30e5e5e04970fe336ac7e973390a2fa2730 /src/or/directory.c
parent10c5eae3fa4f26027c6335cab607a5de550458db (diff)
downloadtor-dfd3ed5bdc252ad2c3afed922e5dcd955eff1d68.tar.gz
tor-dfd3ed5bdc252ad2c3afed922e5dcd955eff1d68.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.
Diffstat (limited to 'src/or/directory.c')
-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 272b324dbe..777972d576 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -2667,11 +2667,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));