]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
prefork: Ignore SIGINT in child. This fixes race-condition in signals handling
authorJan Kaluža <jkaluza@apache.org>
Mon, 18 Aug 2014 07:43:43 +0000 (07:43 +0000)
committerJan Kaluža <jkaluza@apache.org>
Mon, 18 Aug 2014 07:43:43 +0000 (07:43 +0000)
commit20656c3b77cc548b59fea3bde5e2b7705d71c427
tree37c926c8a1e3079f4cbcb087b00a2b0947780586
parent044926f0713865c574bc620852b15e14d03d44e7
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).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1618555 13f79535-47bb-0310-9956-ffa450edef68
server/mpm/prefork/prefork.c