diff options
author | George Kadianakis <desnacked@riseup.net> | 2017-10-25 19:18:38 +0300 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2017-12-01 14:06:32 +0200 |
commit | 6bd64e8212a29d21b20d68a3f69489ffdcbcb42b (patch) | |
tree | 83a26c3012cc275ecab564b25c0e9ea8ed012238 /src/or | |
parent | 8276a0ab85bdea97180459277d9d5b4531e216c4 (diff) | |
download | tor-6bd64e8212a29d21b20d68a3f69489ffdcbcb42b.tar.gz tor-6bd64e8212a29d21b20d68a3f69489ffdcbcb42b.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')
-rw-r--r-- | src/or/directory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 9494cf02ba..f54bf176ce 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -2592,11 +2592,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)); |