[squid-users] Terminating a service(ecap content adaptation) which is intiated by squid at time of squid shutdown

From: joseph_jose <joevypana_at_gmail.com>
Date: Thu, 5 Jun 2014 20:57:22 -0700 (PDT)

i have configured squid with ecap content adaptation(enable_ecap on) which in
turn calls Adapter::Service::start() of libecap when squid starts.
Similarly i want to call Adapter::Service::start() of libecap when squid is
terminating. Because i am using Adapter::Service::start() of libecap to
shutdown some services and free memory etc.
But squid is shutting down directly.
Is there any specific configuration directives which i can use in squid.conf
to tell squid what all things it have to do before shutting down?

(scenario is like below)
i have written a simple code for generating a text file in both
Adapter::Service::start() and Adapter::Service::start(). The text file from
service::start() is generating when squid loads.. but text file from
Adapter::Service::start() is not generated when squid shutdowns.

Any suggestion is appreciated. Thanks in advance..

--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Terminating-a-service-ecap-content-adaptation-which-is-intiated-by-squid-at-time-of-squid-shutdown-tp4666230.html
Sent from the Squid - Users mailing list archive at Nabble.com.
Received on Fri Jun 06 2014 - 03:58:04 MDT

This archive was generated by hypermail 2.2.0 : Sat Jun 07 2014 - 12:00:04 MDT