]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Make sure the accept mutex is released before calling child exit
authorJeff Trawick <trawick@apache.org>
Fri, 23 May 2003 15:25:24 +0000 (15:25 +0000)
committerJeff Trawick <trawick@apache.org>
Fri, 23 May 2003 15:25:24 +0000 (15:25 +0000)
commitbf25e26aedd025c44e102cb0d8b93fcf989d935c
tree91b13d76e7f6dee30c3577de3c90ac34c543f33a
parent1e591060ecf419f731cb59ea25583f64089e9c91
Make sure the accept mutex is released before calling child exit
hooks and cleanups.  Otherwise, modules can segfault in such code
and, with pthread mutexes, leave the server deadlocked.  Even if
the module doesn't segfault, if it performs extensive processing
it can temporarily prevent the server from accepting new
connections.

Reviewed by: Jim, FirstBill

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