You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Martin Kraemer <Ma...@mch.sni.de> on 1998/02/20 23:23:46 UTC

[PATCH] Terminate on SIGINT in -X debug mode

Is there a good reason why it is no longer (as of 1.3b2 or some such)
possible to terminate a "httpd -X" by sending SIGINT or SIGQUIT?
I thought it was quite useful, especially when using -X as a short term
debugging aid.

The appended patch treats SIGINT like SIGTERM and sets SIGQUIT to its
default (core dump). The behavior in non-single-process mode remains
unaffected.

    Martin
-- 
| S I E M E N S |  <Ma...@mch.sni.de>  |      Siemens Nixdorf
| ------------- |   Voice: +49-89-636-46021     |  Informationssysteme AG
| N I X D O R F |   FAX:   +49-89-636-44994     |   81730 Munich, Germany
~~~~~~~~~~~~~~~~My opinions only, of course; pgp key available on request

Re: [PATCH] Terminate on SIGINT in -X debug mode

Posted by Dean Gaudet <dg...@arctic.org>.
It was on of Brian Havard's OS/2 patches that messed this up
inadvertantly, I meant to fix it... go for it.

Dean

On Fri, 20 Feb 1998, Martin Kraemer wrote:

> Is there a good reason why it is no longer (as of 1.3b2 or some such)
> possible to terminate a "httpd -X" by sending SIGINT or SIGQUIT?
> I thought it was quite useful, especially when using -X as a short term
> debugging aid.
> 
> The appended patch treats SIGINT like SIGTERM and sets SIGQUIT to its
> default (core dump). The behavior in non-single-process mode remains
> unaffected.
> 
>     Martin
> -- 
> | S I E M E N S |  <Ma...@mch.sni.de>  |      Siemens Nixdorf
> | ------------- |   Voice: +49-89-636-46021     |  Informationssysteme AG
> | N I X D O R F |   FAX:   +49-89-636-44994     |   81730 Munich, Germany
> ~~~~~~~~~~~~~~~~My opinions only, of course; pgp key available on request
>