]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
WinNT MPM: Fix thread-safety issue in worker_main(). All
authorJeff Trawick <trawick@apache.org>
Sun, 19 Aug 2012 22:38:57 +0000 (22:38 +0000)
committerJeff Trawick <trawick@apache.org>
Sun, 19 Aug 2012 22:38:57 +0000 (22:38 +0000)
commitc02f9309b6269f5d97766557ebb740a6fe287c18
tree8beecfa4a60feaebc03b9befb5252b8cbe58acb7
parent5497cdd2b2429910caa1b4205fd3fdafbac2d46d
WinNT MPM: Fix thread-safety issue in worker_main().  All
workers were allocating from pchild without holding '
child_lock.  Allocate from ptrans instead.

Related to: PR 52196

The reporter suggests that the apr_thread_t for r->connection->current_thread
should have a unique pool.  This revision handles that for WinNT MPM,
but not for other MPMs.

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