Re: [squid-users] Re: Adaptation::AllRules() after squid -k reconfigure

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sun, 02 May 2010 15:01:50 +1200

Mikio Kishi wrote:
> Hi,
>
>> I think that Adaptation::AllRules() config data is broken after
>> squid -k reconfigure.
>> Please check it !
>>
>> Squid version: 3.1.1
>
> I think that there are two problems.
>
>> acl aclA src XXX.XXX.XXX.XXX/32
>> acl aclB src YYY.YYY.YYY.YYY/32
>> acl aclC src ZZZ.ZZZ.ZZZ.ZZZ/32
>> icap_service icapA reqmod_precache bypass=1 icap://127.0.0.1:XXXX/reqmod
>> icap_service icapB respmod_precache bypass=1 icap://127.0.0.1:XXXX/respmod
>> adaptation_service_set req icapA
>> adaptation_service_set resp icapB
>> adaptation_access req allow aclA
>> adaptation_access req allow aclB
>> adaptation_access req allow aclC
>> adaptation_access resp allow aclA
>> adaptation_access resp allow aclB
>> adaptation_access resp allow aclC
>
> For example, if we do "squid -k reconfigure" in above adaptation
> configuration,
>
> - The length of "*Adaptation::AllRules().items[0].acl" acl_access
> list becomes twice. The old list could not be cleared...
>
> - There is mismatches between
> print Adaptation::AllRules().items[0].acl.cfgline and
> print Adaptation::AllRules().items[0].acl.aclList._acl.cfgline
> I don't know why. The Adaptation::AllRules() list could be broken...
>
> What do you think ?
>

Looks like another aspect related to referencing of adaptation
configuration http://bugs.squid-cache.org/show_bug.cgi?id=2697

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.1
Received on Sun May 02 2010 - 03:01:58 MDT

This archive was generated by hypermail 2.2.0 : Sun May 02 2010 - 12:00:03 MDT