fixup! Send more descriptor requests per attempt when using tunneled connections

Limit the number of simultaneous connections to a single router for
server descriptors too.
This commit is contained in:
Nick Mathewson 2014-09-23 12:57:10 -04:00
parent 0fdfdae7e3
commit 055ad9c5fb

View File

@ -4438,7 +4438,7 @@ launch_descriptor_downloads(int purpose,
} }
} }
if (!authdir_mode_any_nonhidserv(options) || fetch_microdesc) { if (!authdir_mode_any_nonhidserv(options)) {
/* If we wind up going to the authorities, we want to only open one /* If we wind up going to the authorities, we want to only open one
* connection to each authority at a time, so that we don't overload * connection to each authority at a time, so that we don't overload
* them. We do this by setting PDS_NO_EXISTING_SERVERDESC_FETCH * them. We do this by setting PDS_NO_EXISTING_SERVERDESC_FETCH