mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Merge remote-tracking branch 'public/bug19648'
This commit is contained in:
commit
86eb63deb4
5
changes/bug19648
Normal file
5
changes/bug19648
Normal file
@ -0,0 +1,5 @@
|
||||
o Minor bugfixes (logging):
|
||||
- When logging the number of descriptors we intend to download per
|
||||
directory request, do not log a number higher than then the
|
||||
number of descriptors we're fetching in total. Fixes bug 19648;
|
||||
bugfix on 0.1.1.8-alpha.
|
@ -5055,8 +5055,9 @@ launch_descriptor_downloads(int purpose,
|
||||
if (n_per_request > max_dl_per_req)
|
||||
n_per_request = max_dl_per_req;
|
||||
|
||||
if (n_per_request < MIN_DL_PER_REQUEST)
|
||||
n_per_request = MIN_DL_PER_REQUEST;
|
||||
if (n_per_request < MIN_DL_PER_REQUEST) {
|
||||
n_per_request = MIN(MIN_DL_PER_REQUEST, n_downloadable);
|
||||
}
|
||||
|
||||
if (n_downloadable > n_per_request)
|
||||
req_plural = rtr_plural = "s";
|
||||
|
Loading…
Reference in New Issue
Block a user