]> git.ipfire.org Git - thirdparty/squid.git/commit - src/cf.data.pre
Rework the auth forwarding special cases
authorHenrik Nordstrom <henrik@henriknordstrom.net>
Wed, 26 Aug 2009 11:43:52 +0000 (13:43 +0200)
committerHenrik Nordstrom <henrik@henriknordstrom.net>
Wed, 26 Aug 2009 11:43:52 +0000 (13:43 +0200)
commitee0b94f4b7d2c3281a98eff2706f8e32d812bee3
tree4c8a4233b44fa56ab996cb37d2528e2e51dcde92
parent9af8775f9e22d889daa771b52a88dc2c06fcdc45
Rework the auth forwarding special cases

The auth forwarding special cases had grown a bit hairy with a lot
of duplicated code between WWW-Auth and Proxy-Auth and far from trivial
to follow code logics.

This change breaks this logic out to a separate function shared
in both modes, selecing mode based on type of peer.

Also moves PROXYPASS back into the land of undocumented features. This
is a feature which most would only get confused by and which can cause
significant security issues if used wrongly.
src/cf.data.pre
src/http.cc