]> granicus.if.org Git - apache/commit
Fix the assertion if the WaitForMutipleObjects
authorMladen Turk <mturk@apache.org>
Wed, 2 Aug 2006 14:36:24 +0000 (14:36 +0000)
committerMladen Turk <mturk@apache.org>
Wed, 2 Aug 2006 14:36:24 +0000 (14:36 +0000)
commitda44990a05ed9afac80366bc14e53f7258f0c711
tree046eb921701dc4500e231ddbc327d2ab88197a49
parent9bbf36995e1e708c26ea42c1525897edda15a638
Fix the assertion if the WaitForMutipleObjects
returns WAIT_ABANDONED_NN instead presumed
WAIT_OBJECT_NN. This will correctly close the thread
handle without using invalid thread handle array index.

Spotted when large balancer timeout was set
and all the threads were busy waiting for the
connection:
[Wed Aug 02 14:29:58 2006] [crit] [Wed Aug 02 14:29:58 2006] file \\build-2.2.2\\server\\mpm\\winnt\\child.c, line 1120, assertion "(rv >= 0) && (rv < threads_created)" failed

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