From: Amos Jeffries Date: Sun, 2 Aug 2009 09:54:54 +0000 (+1200) Subject: Author: Henrik Nordstrom X-Git-Tag: SQUID_3_1_0_13~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=71473e2edd145a7b1883537d4cf1f3f2045ead0e;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 7c85cde299..b82653379d 100644 --- a/src/client_side_reply.cc +++ b/src/client_side_reply.cc @@ -1768,6 +1768,7 @@ clientReplyContext::sendBodyTooLargeError() { IpAddress tmp_noaddr; tmp_noaddr.SetNoAddr(); // TODO: make a global const + http->logType = LOG_TCP_DENIED_REPLY; ErrorState *err = clientBuildError(ERR_TOO_BIG, HTTP_FORBIDDEN, NULL, http->getConn() != NULL ? http->getConn()->peer : tmp_noaddr, http->request);