mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-01 08:03:31 +01:00
fix a bug where relays would use the aggressive client bootstrapping retry number
This commit is contained in:
parent
d5a96286c2
commit
1f72653544
@ -871,8 +871,7 @@ update_consensus_networkstatus_downloads(time_t now)
|
|||||||
update_consensus_bootstrap_multiple_downloads(now, options);
|
update_consensus_bootstrap_multiple_downloads(now, options);
|
||||||
} else {
|
} else {
|
||||||
/* Check if we failed downloading a consensus too recently */
|
/* Check if we failed downloading a consensus too recently */
|
||||||
int max_dl_tries = consensus_max_download_tries(options,
|
int max_dl_tries = consensus_max_download_tries(options, 0);
|
||||||
we_are_bootstrapping);
|
|
||||||
|
|
||||||
/* Let's make sure we remembered to update consensus_dl_status */
|
/* Let's make sure we remembered to update consensus_dl_status */
|
||||||
tor_assert(consensus_dl_status[i].schedule == DL_SCHED_CONSENSUS);
|
tor_assert(consensus_dl_status[i].schedule == DL_SCHED_CONSENSUS);
|
||||||
|
Loading…
Reference in New Issue
Block a user