Detecting graceful restart/stop in child processes
Bill Moseley <[email protected]>
| Newsgroups | gmane.comp.apache.mod-perl |
|---|---|
| Message-ID | <[email protected]> |
I'm running mod_perl/2.0.4 with a very large keep-alive set in my
httpd.conf.
Is there a way to detect when a graceful stop or restart has been requested
in the child apache processes?
I tried $SIG{USR1} and $SIG{WINCH} but I'm not seeing them catch the signal.
I'd like to be able to detect when a graceful stop or restart has been
requested so that I can add a Connection: close header to the response.
--
Bill Moseley
[email protected]