httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ruediger Pluem <rpl...@apache.org>
Subject Re: svn commit: r1618555 - /httpd/httpd/trunk/server/mpm/prefork/prefork.c
Date Mon, 18 Aug 2014 12:20:05 GMT


jkaluza@apache.org wrote:
> Author: jkaluza
> Date: Mon Aug 18 07:43:43 2014
> New Revision: 1618555
> 
> URL: http://svn.apache.org/r1618555
> Log:
> prefork: Ignore SIGINT in child. This fixes race-condition in signals handling
> when httpd is runnning on foreground and user hits ctrl+c. In this case, SIGINT
> is sent to all children followed by SIGTERM from the main process, which
> interrupts the SIGINT handler and leads to inconsistency (process freezes
> or crashes).
> 
> Modified:
>     httpd/httpd/trunk/server/mpm/prefork/prefork.c
> 

Don't we need to do this for the other MPM's as well?

Regards

RĂ¼diger

Mime
View raw message