From: rousskov <> Date: Thu, 27 Sep 2007 21:31:15 +0000 (+0000) Subject: Warn users that multiple ICAP services per icap_class are not yet supported. X-Git-Tag: SQUID_3_0_RC1~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cabf27733c6e7ba8bf9a944522afabccf7adc2b6;p=thirdparty%2Fsquid.git Warn users that multiple ICAP services per icap_class are not yet supported. Despite the warning, we still allow them in the configuration file, but that may change. This warning may help to make the transition smoother. --- diff --git a/src/ICAP/ICAPConfig.cc b/src/ICAP/ICAPConfig.cc index 8ff54b82e2..644e85f783 100644 --- a/src/ICAP/ICAPConfig.cc +++ b/src/ICAP/ICAPConfig.cc @@ -1,6 +1,6 @@ /* - * $Id: ICAPConfig.cc,v 1.19 2007/06/28 15:28:59 rousskov Exp $ + * $Id: ICAPConfig.cc,v 1.20 2007/09/27 15:31:15 rousskov Exp $ * * SQUID Web Proxy Cache http://www.squid-cache.org/ * ---------------------------------------------------------- @@ -90,6 +90,11 @@ ICAPClass::prepare() ConfigParser::ParseString(&key); ConfigParser::ParseWordList(&service_names); + if (service_names && service_names->next) { + debugs(3,0, "WARNING: Multiple ICAP services per icap_class are " << + "not yet supported. See Squid bug #2087."); + } + for (iter = service_names; iter; iter = iter->next) { ICAPServiceRep::Pointer match = TheICAPConfig.findService(iter->key);