mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 14:51:11 +01:00
Retry pending server downloads as well as pending networkstatus downloads when we unexpectedly get an app connection
svn:r5962
This commit is contained in:
parent
91847124bf
commit
1dc90be4f0
1 changed files with 1 additions and 3 deletions
|
@ -913,9 +913,7 @@ circuit_get_open_circ_or_launch(connection_t *conn,
|
|||
router_reset_status_download_failures();
|
||||
router_reset_descriptor_download_failures();
|
||||
update_networkstatus_downloads(time(NULL));
|
||||
|
||||
/* XXXX011 NM This should be a generic "retry all directory fetches". */
|
||||
directory_get_from_dirserver(DIR_PURPOSE_FETCH_DIR, NULL, 1);
|
||||
update_router_descriptor_downloads(time(NULL));
|
||||
}
|
||||
/* the stream will be dealt with when router_have_minimum_dir_info becomes
|
||||
* 1, or when all directory attempts fail and directory_all_unreachable()
|
||||
|
|
Loading…
Add table
Reference in a new issue