diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-09-23 13:04:22 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-09-23 13:04:22 -0400 |
commit | 6523eff9b3b5e06521da010e238b4cd23ed24e82 (patch) | |
tree | 1a78b28de689f08a7766185e3678dcf66327fdc6 /src/or/routerlist.c | |
parent | 055ad9c5fb0de4295ccb05357d6a2d8ad29d03e4 (diff) | |
download | tor-6523eff9b3b5e06521da010e238b4cd23ed24e82.tar.gz tor-6523eff9b3b5e06521da010e238b4cd23ed24e82.zip |
Send long URLs when requesting ordinary server descriptors too.
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r-- | src/or/routerlist.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index ec9e801ef2..e0a55d898f 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -4369,7 +4369,10 @@ max_dl_per_request(const or_options_t *options, int purpose) { int max = 96; if (purpose == DIR_PURPOSE_FETCH_MICRODESC) { - max = options->TunnelDirConns ? 1000 : 92; + max = 92; + } + if (options->TunnelDirConns) { + max = 1000; } return max; } |