[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squid-users
Subject:    Re: [squid-users] key-value pairs output from external helper
From:       Sreenath BH <bhsreenath () gmail ! com>
Date:       2016-01-22 16:40:03
Message-ID: CALgKBSk_d2gArOoPBynygLPLEAxGueBoE9Ug31m=y6cpVd1ZiQ () mail ! gmail ! com
[Download RAW message or body]

Hi

I added code to set "tag" in acl helper, as follows:

print "OK tag=abcd\n"
and I was able to add a  url_rewrite_extras
as follows:

url_rewrite_extras "%et" and it was passed to the url rewriter.

So, I guess it is working.

thanks for the help
Sreenath

On 1/20/16, Alex Rousskov <rousskov@measurement-factory.com> wrote:
> 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.
>
>
_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic