httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/server/mpm/winnt child.c
Date Sun, 13 Oct 2002 20:06:59 GMT
wrowe       2002/10/13 13:06:59

  Modified:    server/mpm/winnt child.c
  Log:
    Bigger hack alert.  Expand the range of unrecycled sockets to include
    WSAENOTSOCK for dealing with the AcceptEx failed bug reports.  Experimental
    build to go out shortly.
  
  Revision  Changes    Path
  1.7       +2 -1      httpd-2.0/server/mpm/winnt/child.c
  
  Index: child.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/mpm/winnt/child.c,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- child.c	4 Aug 2002 18:48:29 -0000	1.6
  +++ child.c	13 Oct 2002 20:06:59 -0000	1.7
  @@ -512,7 +512,8 @@
                         &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.
  
  
  

Mime
View raw message