aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2017-10-25 19:18:38 +0300
committerGeorge Kadianakis <desnacked@riseup.net>2017-12-01 14:13:22 +0200
commit1c9f06348671ee72112f2f75d90d7e46cf412b2d (patch)
tree505438ff9c1de700c9bd428c89a54d0dae358918
parent210f0c24f039aa6d46b9396ec6bb13ff575a9e79 (diff)
downloadtor-1c9f06348671ee72112f2f75d90d7e46cf412b2d.tar.gz
tor-1c9f06348671ee72112f2f75d90d7e46cf412b2d.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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 534e3d6102..48d912bd28 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -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(