mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Ensure relays don't make multiple connections during bootstrap
Relays do not deliberately launch multiple attempts, so the impact of this bug should be minimal. This fix also defends against bugs like #20499. Bugfix on 0.2.8.1-alpha.
This commit is contained in:
parent
f6a3d213e4
commit
1bb28cecd9
3
changes/bug20591
Normal file
3
changes/bug20591
Normal file
@ -0,0 +1,3 @@
|
||||
o Minor bugfixes (relay bootstrap):
|
||||
- Ensure relays don't make multiple connections during bootstrap.
|
||||
Fixes bug 20591; bugfix on 0.2.8.1-alpha.
|
@ -880,7 +880,7 @@ update_consensus_networkstatus_downloads(time_t now)
|
||||
resource = networkstatus_get_flavor_name(i);
|
||||
|
||||
/* Check if we already have enough connections in progress */
|
||||
if (we_are_bootstrapping) {
|
||||
if (we_are_bootstrapping && use_multi_conn) {
|
||||
max_in_progress_conns =
|
||||
options->ClientBootstrapConsensusMaxInProgressTries;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user