/[Apache-SVN]
ViewVC logotype

Revision 1523387


Jump to revision: Previous Next
Author: covener
Date: Sun Sep 15 02:25:32 2013 UTC (10 years, 7 months ago)
Changed paths: 2
Log Message:
In 2.4, the MPM leaves a copy of the non-disconnected FD sitting in
context->accept_socket. This FD will be closed a second time, often
shortly after a worker picks it up in this same FD being reused.  The
first recv fails with WSAENOTSOCK since the same FD was closed in the
listener thread while the worker was pulling it off the queue

(The second close is of the underlying FD/socket, not a shared
apr_socket_t, so it's not short-circuited)

This patch makes it a bit more 2.2.x-ish and solves my problem -- the
context->accept_socket gets zapped at the bottom of the loop if
!disconnected.



Changed paths

Path Details
Directoryhttpd/httpd/trunk/CHANGES modified , text changed
Directoryhttpd/httpd/trunk/server/mpm/winnt/child.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26