[squid-dev] [PATCH] auth_schemes directive
Eduard Bagdasaryan
eduard.bagdasaryan at measurement-factory.com
Fri Nov 18 23:56:59 UTC 2016
Hello,
This patch introduces a new 'auth_schemes' squid.conf directive.
This directive may be used to customize authentication
schemes presence and order in Squid's HTTP 401 (Unauthorized) and 407
(Proxy Authentication Required) responses. The defaults remain the same.
Also refactored configuration code for options with custom
ACL-controlled actions:
* Reduced parsing code duplication by adding ParseAclWithAction().
* Used functors for generic action-to-string conversions. It is possible
now to perform such conversions providing lambda expressions.
* Used vectors of strings instead of C-style arrays for storing
conversion tables and check against bounds with vector::at().
Regards,
Eduard.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-dev/attachments/20161119/270edd0a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SQUID-242-auth-scheme-t1.patch
Type: text/x-patch
Size: 57238 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-dev/attachments/20161119/270edd0a/attachment-0001.bin>
More information about the squid-dev
mailing list