]> git.ipfire.org Git - thirdparty/squid.git/commit
This patch fully transforms proxy_auth into a ACL type, allowing both
authorwessels <>
Tue, 12 Jan 1999 05:54:15 +0000 (05:54 +0000)
committerwessels <>
Tue, 12 Jan 1999 05:54:15 +0000 (05:54 +0000)
commit1cfdbcf024e40720d2b358414e6327fa8de958b1
treee10c6d7acff30c71f4cb05271f32cb4d5afdbdd6
parent09544acc7862fd5c316c9d1972ea501c16de1ddd
This patch fully transforms proxy_auth into a ACL type, allowing both
allow and deny in any order suitable.

Authentication is requested from the user if:
* proxy_auth is used and no valid authentication header is present.
* wrong password is used
* denied by a proxy_auth ACL

A positive sideeffect is that is is also possible to use deny_info on
proxy_auth ACLs to change the message returned. It also fixes the
problem where proxy_auth user wasn't logged if the proxy_auth user info
wasn't cached.

This patch fully replaces my previous attemt.

There is a small collision with one of my other changes in proto.h, but
I assume that you know how to resolve this.
src/acl.cc
src/client_side.cc
src/errorpage.cc
src/protos.h