Re: [PATCH] Bug 3118: ecap_enable on forces icap_enable on

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sat, 30 Jul 2011 11:36:29 +1200

On 30/07/11 02:10, Tsantilas Christos wrote:
> This is a patch which solves the bug 3118. Because it is not so small I
> am posting it here for comments.
>
> Here is the patch description:
>
> Currently we were updating [Icap|Ecap]::TheConfig even when
> [icap|ecap]_enable was false, which may lead to service activation for
> Icap or Ecap services that should be disabled. The patch removes such
> services from service groups before they are activated.
>
> The patch also warns the user when an adaptation group loses some but
> not all of its services due to the new group cleanup code.
>
>
> Regards,
> Christos

Can you thread some debugs statements through
removeService(),removeRules() please, somewhere level 4-6.

What happens when a group is emptied of services and pruned after its
been linked to or used by AccessRule? or any other config?

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.14
   Beta testers wanted for 3.2.0.10
Received on Fri Jul 29 2011 - 23:36:34 MDT

This archive was generated by hypermail 2.2.0 : Sat Jul 30 2011 - 12:00:05 MDT