Re: access_log acl not observing my_port

From: Adrian Chadd <adrian_at_squid-cache.org>
Date: Thu, 13 Nov 2008 21:49:19 -0800

g'day!

Just create a ticket in the Squid bugzilla and put the patch into there.

Thanks for your contribution!

Adrian

2008/11/13 Stephen Thorne <stephen_at_netboxblue.com>:
> G'day,
>
> I've been looking into a problem we've observed where this situation
> does not work as expected, this is in squid-2.7.STABLE4:
>
> acl direct myport 8080
> access_log /var/log/squid/direct_proxy.log common direct
>
> I did some tracing through the code and established that this chain of
> events occurs:
> httpRequestFree calls clientAclChecklistCreate calls aclChecklistCreate
>
> But aclChecklistCacheInit is the function that populates the
> checklist->my_port, which is required for a myport acl to work, and it
> isn't called.
>
> I have attached a patch that fixes this particular problem for me, which
> simply calls aclChecklistCacheInit in clientAclChecklistCreate.
>
> --
> Regards,
> Stephen Thorne
> Development Engineer
> NetBox Blue - 1300 737 060
>
> Scanned by the NetBox from NetBox Blue
> (http://netboxblue.com/)
>
>
> Scanned by the NetBox from NetBox Blue
> (http://netboxblue.com/)
>
>
Received on Fri Nov 14 2008 - 05:49:23 MST

This archive was generated by hypermail 2.2.0 : Fri Nov 14 2008 - 12:00:03 MST