mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Merge branch 'bug11965_v2'
This commit is contained in:
commit
5de91d118d
6
changes/bug11965
Normal file
6
changes/bug11965
Normal file
@ -0,0 +1,6 @@
|
||||
o Minor bugfixes:
|
||||
|
||||
- Avoid another 60-second delay when starting Tor in a
|
||||
pluggable-transport-using configuration when we already have
|
||||
cached descriptors for our bridges. Fixes bug 11965; bugfix on
|
||||
0.2.3.6-alpha.
|
@ -1231,7 +1231,8 @@ run_scheduled_events(time_t now)
|
||||
router_upload_dir_desc_to_dirservers(0);
|
||||
}
|
||||
|
||||
if (!options->DisableNetwork && time_to_try_getting_descriptors < now) {
|
||||
if (!should_delay_dir_fetches(options, NULL) &&
|
||||
time_to_try_getting_descriptors < now) {
|
||||
update_all_descriptor_downloads(now);
|
||||
update_extrainfo_downloads(now);
|
||||
if (router_have_minimum_dir_info())
|
||||
@ -1461,7 +1462,8 @@ run_scheduled_events(time_t now)
|
||||
* documents? */
|
||||
#define networkstatus_dl_check_interval(o) ((o)->TestingTorNetwork ? 1 : 60)
|
||||
|
||||
if (time_to_download_networkstatus < now && !options->DisableNetwork) {
|
||||
if (!should_delay_dir_fetches(options, NULL) &&
|
||||
time_to_download_networkstatus < now) {
|
||||
time_to_download_networkstatus =
|
||||
now + networkstatus_dl_check_interval(options);
|
||||
update_networkstatus_downloads(now);
|
||||
|
Loading…
Reference in New Issue
Block a user