Search squid archive

Re: reloading settings on a regular basis

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11.10.2012 06:42, E.S. Rosenberg wrote:
I forgot to ask:
Is it possible to have an ext_acl return multiple tags (to 'stack' tags)?


Not in the current Squid. They only support a single tag with write-once semantics.

Here is a patch if you like that makes squid-3.2+ change this behaviour and replace any existing tag with a new one. When two helpers both send tags the tag from last one to be tested will be set on the helper. http://master.squid-cache.org/~amosjeffries/patches/s32_extACL_tag_replace.patch

WARNING: This may cause problems if your config depends on the write-once behaviour to cover any configured ACLs double-tagging.

NOTE: to stack tags properly you may have to adjust helpers to take %EXT_TAG in their input and append/alter details before sending tag=$result back to Squid for altering the request existing tag. And/or add a tag_regex ACL type to apply regex pattern to the tag setting.


Would you be interested in sponsoring me a few hours work for $200 USD to implement a tag set properly?
  http://treenet.co.nz/projects/squid/

Amos



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux