WSAENOTSOCK for dealing with the AcceptEx failed bug reports. Experimental
build to go out shortly.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97197
13f79535-47bb-0310-9956-
ffa450edef68
&BytesRead,
&context->Overlapped)) {
rv = apr_get_netos_error();
- if (rv == APR_FROM_OS_ERROR(WSAEINVAL)) {
+ if (rv == APR_FROM_OS_ERROR(WSAEINVAL) ||
+ rv == APR_FROM_OS_ERROR(WSAENOTSOCK)) {
/* Hack alert. Occasionally, TransmitFile will not recycle the
* accept socket (usually when the client disconnects early).
* Get a new socket and try the call again.