]> git.ipfire.org Git - thirdparty/squid.git/commit - src/client_side_request.cc
Bug 1628: follow_x_forwarded_for shoudl not cause allow/deny behavior
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 11 Sep 2008 11:14:39 +0000 (23:14 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 11 Sep 2008 11:14:39 +0000 (23:14 +1200)
commit493d3865e2dc88e9ceb4ca34e43995054c1da224
tree3bb9af5327981db98e5130d2fb508a8e752cf019
parenta7e513e94e59b55cd40026fde527d8a436edaa26
Bug 1628: follow_x_forwarded_for shoudl not cause allow/deny behavior

clientFollowXForwardedForCheck() needs to always set the
request->indirect_client_addr properly at completion and call
calloutContext->clientAccessCheck(); unconditionally to begin actual
access ACL tests.

Calling clientAccessCheckDone(answer) is equivalent to processing an
http_access line with denial.
src/client_side_request.cc