]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix range_offset_limit debugging (#164) M-staged-PR164
authorsujiacong <linfengfeiye@163.com>
Mon, 17 Sep 2018 02:41:19 +0000 (02:41 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Mon, 17 Sep 2018 05:12:59 +0000 (05:12 +0000)
src/HttpRequest.cc

index d2f9e7f1d53c518ba71d107ec0054a3d181b04c7..3133dbe3566397fc200a28a829f5f1b1e16926f5 100644 (file)
@@ -615,8 +615,8 @@ HttpRequest::getRangeOffsetLimit()
     for (AclSizeLimit *l = Config.rangeOffsetLimit; l; l = l -> next) {
         /* if there is no ACL list or if the ACLs listed match use this limit value */
         if (!l->aclList || ch.fastCheck(l->aclList).allowed()) {
-            debugs(58, 4, HERE << "rangeOffsetLimit=" << rangeOffsetLimit);
             rangeOffsetLimit = l->size; // may be -1
+            debugs(58, 4, rangeOffsetLimit);
             break;
         }
     }