[squid-users] url_rewrite_extras - not getting data excepted

Patrick pkryon at gmail.com
Fri May 22 12:59:31 UTC 2015


Thanks for looking at this, Amos.  Unfortunately, I am still seeing the
same result with the squid-3.5.4-20150522-r13836 daily.

I was thinking I might just being seeing what's described at
http://www.squid-cache.org/Doc/config/url_rewrite_extras/ as "In practice,
a %macro expands as a dash (-) if the helper request is sent before the
required macro information is available to Squid."  But I guess if that was
the case I would have expected to see the dash only on the first request
with the subsequent requests returning the %ue value at least within the
ttl.  But I get just the dash on every request.

On Fri, May 22, 2015 at 12:27 AM, Amos Jeffries <squid3 at treenet.co.nz>
wrote:

> On 22/05/2015 4:10 a.m., Patrick wrote:
> > Hello,
> >
> > I think I'm having a problem with the url_rewrite_extras function.  I'm
> > using version 3.5.3. I've been trying to use the %ue macro to send the
> > user= returned by my external_acl_type program.  But when I look at
> > the url_rewrite_program output I just get a "-" value for this macro.
> >
>
> I think you are probably encountering a bug found recently in
> exetrnal_acl_type handling of kv-pair notes.
>
> The patch for that is
> <
> http://www.squid-cache.org/Versions/v3/3.5/changesets/squid-3.5-13827.patch
> >.
> Just ported it back to 3.5 so will be in the next snapshot.
>
> Amos
>
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20150522/0d2a3abd/attachment.html>


More information about the squid-users mailing list