]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
worker MPM: Fix a problem which could cause httpd processes to
authorJeff Trawick <trawick@apache.org>
Thu, 2 Dec 2004 17:39:22 +0000 (17:39 +0000)
committerJeff Trawick <trawick@apache.org>
Thu, 2 Dec 2004 17:39:22 +0000 (17:39 +0000)
commit592750b026b9a5d3a7f401796ec1763ca2b79984
tree0b4ec1409ce8ef98e8b4750ecfe8dc30434d1364
parent7eb243ba752c6217fd6815a25cf0279f749815c8
worker MPM: Fix a problem which could cause httpd processes to
remain active after shutdown.

The problem occurred when a scoreboard entry currently
in use by an exiting child process was used for a new child
process.  At that point, the MPM forgot about the exiting
child process, so ap_reclaim_child_processes() wouldn't be
able to forceably terminate it.

(An exiting child process may *never* exit due to a stuck
or long-running request being handled on one of the threads.)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@109510 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
include/mpm_common.h
server/mpm/worker/worker.c
server/mpm_common.c