[squid-users] key-value pairs output from external helper

Alex Rousskov rousskov at measurement-factory.com
Wed Jan 20 18:28:50 UTC 2016


On 01/20/2016 09:33 AM, Sreenath BH wrote:

> Squid allows external acl helpers to write arbitrary key-value pairs
> in its output.

> Are these available for use by other modules of Squid?

The answer depends on the helper: eCAP services and many helpers support
admin-configurable metadata exchanges. Search squid.conf.documented for
"_extras" and "adaptation_meta".


> Specifically, can these be accessed by URL rewriter helper. 

Yes. See url_rewrite_extras.


> If we set clt_conn_tag to some string in external ACL helper, can this
> be picked up by the external url rewriter?

Yes, that should work in Squid v3.5 or later. If it does not, it is
probably a bug.


HTH,

Alex.



More information about the squid-users mailing list