mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
c86013291b
This change refactors find_dl_schedule() to only call dependent functions
as needed. In particular, directory_fetches_from_authorities() only needs
to be called on clients.
Stopping spurious directory_fetches_from_authorities() calls on every
download on public relays has the following impacts:
* fewer address resolution attempts, particularly those mentioned in 21789
* fewer descriptor rebuilds
* fewer log messages, particularly those limited in 20610
Fixes 23470 in 0.2.8.1-alpha.
The original bug was introduced in commit 35bbf2e
as part of prop210.
7 lines
348 B
Plaintext
7 lines
348 B
Plaintext
o Minor bugfix (relay address resolution):
|
|
- Avoid unnecessary calls to directory_fetches_from_authorities()
|
|
on relays. This avoids spurious address resolutions and
|
|
descriptor rebuilds. This is a mitigation for 21789. The original
|
|
bug was introduced in commit 35bbf2e as part of prop210.
|
|
Fixes 23470 in 0.2.8.1-alpha.
|