]> granicus.if.org Git - apache/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)
commitc2372b9ae34b9274210497f7698e9f39556beb6a
tree37c926c8a1e3079f4cbcb087b00a2b0947780586
parentdc6cbedba9fa314e5ae038635f5105385e563361
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