]> granicus.if.org Git - apache/commit
Merge r1374874 from trunk:
authorJim Jagielski <jim@apache.org>
Wed, 28 Nov 2012 16:33:18 +0000 (16:33 +0000)
committerJim Jagielski <jim@apache.org>
Wed, 28 Nov 2012 16:33:18 +0000 (16:33 +0000)
commit374a3b1541c43c88e13867d879bd0fce9deefef7
tree89a4354f0adf166a77cb21864f05d5f6fc06ce32
parent61715c6b725b69b92d70bc7d054e1ea5b0f7be00
Merge r1374874 from trunk:

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.

Submitted by: trawick
Reviewed/backported by: jim

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1414796 13f79535-47bb-0310-9956-ffa450edef68
STATUS
server/mpm/winnt/child.c