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

List:       squid-dev
Subject:    Re: access_log acl not observing my_port
From:       "Adrian Chadd" <adrian () squid-cache ! org>
Date:       2008-11-14 5:49:19
Message-ID: d763ac660811132149i474525eam94d1c4527692d3f6 () mail ! gmail ! com
[Download RAW message or body]

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@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/)
>
>
[prev in list] [next in list] [prev in thread] [next in thread] 

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