mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
7e504515b3
Previously, we wouldn't do this when running with a routerinfo_t in some cases, leading to many needless calls to the protover module. This change also cleans up the code in nodelist.c a bit. Fixes bug 25008; bugfix on 0.2.9.4-alpha.
10 lines
455 B
Plaintext
10 lines
455 B
Plaintext
o Minor bugfixes (performance):
|
|
- Avoid calling protocol_list_supports_protocol() from inside tight loops
|
|
when running with cached routerinfo_t objects. Instead,
|
|
summarize the relevant protocols as flags in the routerinfo_t, as we do
|
|
for routerstatus_t objects. This change simplifies our code a little,
|
|
and saves a large amount of short-term memory allocation operations.
|
|
Fixes bug 25008; bugfix on 0.2.9.4-alpha.
|
|
|
|
|