mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-26 23:52:30 +01:00
Send long URLs when requesting ordinary server descriptors too.
This commit is contained in:
parent
055ad9c5fb
commit
6523eff9b3
1 changed files with 4 additions and 1 deletions
|
@ -4369,7 +4369,10 @@ max_dl_per_request(const or_options_t *options, int purpose)
|
||||||
{
|
{
|
||||||
int max = 96;
|
int max = 96;
|
||||||
if (purpose == DIR_PURPOSE_FETCH_MICRODESC) {
|
if (purpose == DIR_PURPOSE_FETCH_MICRODESC) {
|
||||||
max = options->TunnelDirConns ? 1000 : 92;
|
max = 92;
|
||||||
|
}
|
||||||
|
if (options->TunnelDirConns) {
|
||||||
|
max = 1000;
|
||||||
}
|
}
|
||||||
return max;
|
return max;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue