]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/HttpReply.cc
Source Format Enforcement (#963)
[thirdparty/squid.git] / src / HttpReply.cc
index 2d5614525572f96dacd6319afb2a2bbd879bb9ca..2c34f9f7ed30648ceaa60d080011741b4d3b8e12 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2022 The Squid Software Foundation and contributors
  *
  * Squid software is distributed under GPLv2+ license and includes
  * contributions from numerous individuals and organizations.
@@ -517,7 +517,7 @@ bool
 HttpReply::receivedBodyTooLarge(HttpRequest& request, int64_t receivedSize)
 {
     calcMaxBodySize(request);
-    debugs(58, 3, HERE << receivedSize << " >? " << bodySizeMax);
+    debugs(58, 3, receivedSize << " >? " << bodySizeMax);
     return bodySizeMax >= 0 && receivedSize > bodySizeMax;
 }
 
@@ -525,7 +525,7 @@ bool
 HttpReply::expectedBodyTooLarge(HttpRequest& request)
 {
     calcMaxBodySize(request);
-    debugs(58, 7, HERE << "bodySizeMax=" << bodySizeMax);
+    debugs(58, 7, "bodySizeMax=" << bodySizeMax);
 
     if (bodySizeMax < 0) // no body size limit
         return false;
@@ -534,7 +534,7 @@ HttpReply::expectedBodyTooLarge(HttpRequest& request)
     if (!expectingBody(request.method, expectedSize))
         return false;
 
-    debugs(58, 6, HERE << expectedSize << " >? " << bodySizeMax);
+    debugs(58, 6, expectedSize << " >? " << bodySizeMax);
 
     if (expectedSize < 0) // expecting body of an unknown length
         return false;
@@ -561,7 +561,7 @@ HttpReply::calcMaxBodySize(HttpRequest& request) const
     for (AclSizeLimit *l = Config.ReplyBodySize; l; l = l -> next) {
         /* if there is no ACL list or if the ACLs listed match use this size value */
         if (!l->aclList || ch.fastCheck(l->aclList).allowed()) {
-            debugs(58, 4, HERE << "bodySizeMax=" << bodySizeMax);
+            debugs(58, 4, "bodySizeMax=" << bodySizeMax);
             bodySizeMax = l->size; // may be -1
             break;
         }