/*
- * 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.
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;
}
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;
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;
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;
}