1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-06 09:01:14 +03:00
Files
apache/server
Eric Covener a9297bf0b8 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.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1523387 13f79535-47bb-0310-9956-ffa450edef68
2013-09-15 02:25:32 +00:00
..
2011-11-13 00:20:32 +00:00
2011-11-13 00:20:32 +00:00
2011-11-13 00:20:32 +00:00
2011-11-13 00:20:32 +00:00
2006-07-11 20:33:53 +00:00
2011-01-17 10:45:54 +00:00
2013-08-15 13:37:08 +00:00
2006-07-11 20:33:53 +00:00
2012-08-09 12:11:09 +00:00
2012-10-12 16:41:34 +00:00
2013-07-17 04:43:43 +00:00
2013-06-27 08:34:14 +00:00
2006-07-11 20:33:53 +00:00
2013-03-18 21:16:18 +00:00
2013-06-15 21:20:09 +00:00
2013-06-15 21:20:09 +00:00
2012-11-05 12:41:17 +00:00
2013-03-19 19:09:40 +00:00
2013-03-03 21:25:46 +00:00