httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 11608] - Apache fails to start. (winnt_accept: Asynchronous AcceptEx failed)
Date Mon, 07 Oct 2002 21:05:47 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11608>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11608

Apache fails to start. (winnt_accept: Asynchronous AcceptEx failed)





------- Additional Comments From mattsoft@mattsoft.net  2002-10-07 21:05 -------
I tried changing the listen command like hugo carvalho said, but I still get 
the same error. I also tried reinstalling my network card. a friend of mine 
helped me find this in apache's source code.

if (rv == APR_FROM_OS_ERROR(WSAEINVAL)) {
 /* 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. */
 closesocket(context->accept_socket);
 context->accept_socket = INVALID_SOCKET;
 ap_log_error(APLOG_MARK, APLOG_DEBUG, rv,ap_server_conf,"winnt_accept: 
AcceptEx failed due to early client disconnect. Reallocate the accept socket 
and try again.");
 continue;
}else if(rv != APR_FROM_OS_ERROR(ERROR_IO_PENDING)){
 ap_log_error(APLOG_MARK,APLOG_ERR, rv, ap_server_conf,"winnt_accept: AcceptEx 
failed. Attempting to recover.");
 closesocket(context->accept_socket);
 context->accept_socket = INVALID_SOCKET;
 Sleep(100);
 continue;
}

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message