diff --git a/changes/bug19191 b/changes/bug19191
new file mode 100644
index 0000000000000000000000000000000000000000..8670aaa7fdb31cdf649e2afae1a47da3f6292a8b
--- /dev/null
+++ b/changes/bug19191
@@ -0,0 +1,5 @@
+  o Minor bugfixes (downloading):
+    - Predict more correctly whether we'll be downloading over HTTP when we
+      determine the maximum length of a URL. This should avoid a "BUG"
+      warning about the Squid HTTP proxy and its URL limits. Fixes bug 19191;
+      bugfix on ?????.
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index a08b5f3190ccc854f69b57746f2809270af80066..82376c073f6572b80b81ece54d289ed778fba225 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -4674,7 +4674,7 @@ max_dl_per_request(const or_options_t *options, int purpose)
   }
   /* If we're going to tunnel our connections, we can ask for a lot more
    * in a request. */
-  if (!directory_fetches_from_authorities(options)) {
+  if (directory_must_use_begindir(options)) {
     max = 500;
   }
   return max;