]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Send long URLs when requesting ordinary server descriptors too.
authorNick Mathewson <nickm@torproject.org>
Tue, 23 Sep 2014 17:04:22 +0000 (13:04 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 23 Sep 2014 17:04:22 +0000 (13:04 -0400)
src/or/routerlist.c

index ec9e801ef22f6263d9ede785e0501ee8d94f8673..e0a55d898f195283c9e91b76847b05608eb1c6e2 100644 (file)
@@ -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;
 }