From: William A. Rowe Jr Date: Mon, 14 Oct 2002 03:13:20 +0000 (+0000) Subject: Handle WSA_IO_PENDING as well. X-Git-Tag: 2.0.44~294 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62eedfbb8bd88f13e047b6c6581d299d04e449fd;p=thirdparty%2Fapache%2Fhttpd.git Handle WSA_IO_PENDING as well. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97200 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/winnt/child.c b/server/mpm/winnt/child.c index dd8c471a3f3..3e6c6befaba 100644 --- a/server/mpm/winnt/child.c +++ b/server/mpm/winnt/child.c @@ -525,7 +525,8 @@ static void winnt_accept(void *lr_) "disconnect. Reallocate the accept socket and try again."); continue; } - else if (rv != APR_FROM_OS_ERROR(ERROR_IO_PENDING)) { + else if ((rv != APR_FROM_OS_ERROR(ERROR_IO_PENDING) + (rv != APR_FROM_OS_ERROR(WSA_IO_PENDING)) { ap_log_error(APLOG_MARK,APLOG_ERR, rv, ap_server_conf, "winnt_accept: AcceptEx failed. Attempting to recover."); closesocket(context->accept_socket);