]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
When we detect a child exiting with APEXIT_CHILDFATAL in process_child_status(),
authorMartin Kraemer <martin@apache.org>
Mon, 21 Oct 2002 13:41:57 +0000 (13:41 +0000)
committerMartin Kraemer <martin@apache.org>
Mon, 21 Oct 2002 13:41:57 +0000 (13:41 +0000)
commitd4c03d1097c1567148ec005f344c1b0b70a3b362
tree448f78a9115d07e860e178582e01994990df4c3d
parent5a78d54ba4188575f4157d08eee7407ddd47a008
When we detect a child exiting with APEXIT_CHILDFATAL in process_child_status(),
we simply exit(). Remove the pid file too, because it makes no sense after
the parent has terminated.
I assume that a better strategy here would be to kill(getpid(), SIGTERM) to
enforce a regular shutdown sequence, killing the other child processes too.
At the moment, they might be left running and blocking the server socket.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97275 13f79535-47bb-0310-9956-ffa450edef68
src/main/http_main.c