From: Alex Rousskov Date: Tue, 28 Apr 2009 18:06:32 +0000 (-0600) Subject: Author: Philip Allison X-Git-Tag: SQUID_3_2_0_1~1030 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e1d1bd27e3a1c8437547bbbd2d2625eef97a8448;p=thirdparty%2Fsquid.git Author: Philip Allison Bug #2615 fix: Call libecap::adapter::Service::start() when finalizing config. --- diff --git a/src/adaptation/ecap/ServiceRep.cc b/src/adaptation/ecap/ServiceRep.cc index 6309ed0618..be8027aafd 100644 --- a/src/adaptation/ecap/ServiceRep.cc +++ b/src/adaptation/ecap/ServiceRep.cc @@ -36,7 +36,10 @@ void Adaptation::Ecap::ServiceRep::finalize() { Adaptation::Service::finalize(); - if (!theService) { + if (theService) { + debugs(93,3, HERE << "starting eCAP service: " << theService->uri()); + theService->start(); + } else { debugs(93,1, "Warning: configured ecap_service was not loaded: " << cfg().uri); }