]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Author: Philip Allison
authorAlex Rousskov <rousskov@measurement-factory.com>
Tue, 28 Apr 2009 18:06:32 +0000 (12:06 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Tue, 28 Apr 2009 18:06:32 +0000 (12:06 -0600)
Bug #2615 fix: 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);
     }