httpd-dev mailing list archives

On Thu, Jun 28, 2007 at 02:54:39PM -0400, Brian J. France wrote:
> Here is a patch that will allow SIGTERM to work with -X
>
> http://www.brianfrance.com/software/apache/httpd.signal.diff
>
> Without the patch running httpd on the command line with -X and
> trying to stop it can only be done by backgrounding it and then kill
> -9'ing it (ctrl-c doesn't work).
Garrett's fix for this in PR 38848 looks safer, it allows server
termination to proceed as normal rather than trying to do it from a
signal handler (calling clean_child_exit() from a signal handler has
never really been safe)
committed as http://svn.apache.org/viewvc?view=rev&revision=552029
joe