]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Author: Philip Allison
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 3 May 2009 11:55:34 +0000 (23:55 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 3 May 2009 11:55:34 +0000 (23:55 +1200)
Bug 2615: Call libecap::adapter::Service::start() when finalizing config.

src/adaptation/ecap/ServiceRep.cc

index 6309ed0618343ba226686f4471300912e670fb1f..be8027aafdb7ab453d05daaed8ae10927a119fdb 100644 (file)
@@ -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);
     }