From: Amos Jeffries Date: Sun, 3 May 2009 11:55:34 +0000 (+1200) Subject: Author: Philip Allison X-Git-Tag: SQUID_3_1_0_8~22 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=12c929b2b622495472fc42914ee1125e75d95b57;p=thirdparty%2Fsquid.git Author: Philip Allison Bug 2615: 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); }