Search squid archive

Re: url_rewrite_extras - not getting data excepted

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

 



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@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

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

  Powered by Linux