From: Amos Jeffries Date: Sun, 2 Aug 2009 10:59:16 +0000 (+1200) Subject: Author: Henrik Nordstrom X-Git-Tag: SQUID_3_0_STABLE18~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de2fae912ac1f724242c554abe6b4ba90a146211;p=thirdparty%2Fsquid.git Author: Henrik Nordstrom Bug 2732: reply_body_max_size smaller than error page loops infinitely until out of memory --- diff --git a/src/client_side_reply.cc b/src/client_side_reply.cc index bfb1eb8431..541abc7ed2 100644 --- a/src/client_side_reply.cc +++ b/src/client_side_reply.cc @@ -1682,6 +1682,7 @@ clientReplyContext::processReplyAccess () } if (http->isReplyBodyTooLarge(reply->content_length)) { + http->logType = LOG_TCP_DENIED_REPLY; ErrorState *err = clientBuildError(ERR_TOO_BIG, HTTP_FORBIDDEN, NULL, http->getConn() != NULL ? &http->getConn()->peer.sin_addr : &no_addr,