]> git.ipfire.org Git - thirdparty/squid.git/commit - src/adaptation/ecap/Config.cc
author: Measurement Factory
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Wed, 3 Aug 2011 08:30:00 +0000 (11:30 +0300)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Wed, 3 Aug 2011 08:30:00 +0000 (11:30 +0300)
commit7e8c4ee9f88657e5ccd595b344eb81efc4ac10b9
tree2fae75e8aae07c4bdd5efecce7e0bf7dce4cd5fb
parent96f6f33b443412f7e8075d18c800ee7b560d5134
author: Measurement Factory
Bug 3118: ecap_enable on forces icap_enable on

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.
src/adaptation/Config.cc
src/adaptation/Config.h
src/adaptation/ServiceGroups.cc
src/adaptation/ServiceGroups.h
src/adaptation/ecap/Config.cc
src/adaptation/ecap/Config.h