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