]> git.ipfire.org Git - thirdparty/squid.git/commit - src/client_side_reply.cc
Bug #2028: Segmentation fault on http_reply_access deny
authorhno <>
Thu, 30 Aug 2007 19:15:13 +0000 (19:15 +0000)
committerhno <>
Thu, 30 Aug 2007 19:15:13 +0000 (19:15 +0000)
commitc466369c77b6df0692d525777c251d4af00a7f50
tree24e9341281785ba5c5cad3edcf47a44dfef75e8b
parent230a8cc66d7c5f7880ccd0444041d58d5d53efa8
Bug #2028: Segmentation fault on http_reply_access deny

http_reply_access deny triggered an infinite recursion, eventually ending
up in a segmentation fault.

This patch builds on the previous patch to also exclude http_reply_access
deny error responses from further http_reply_access processing.

Note: When a request is denied by http_reply_access the internal client is
reset to attach it to the error page instead, making http_reply_access be
invoked again on the error.
src/client_side_reply.cc