httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stodd...@locus.apache.org
Subject cvs commit: apache-2.0/src/modules/mpm/winnt winnt.c
Date Tue, 23 May 2000 17:28:53 GMT
stoddard    00/05/23 10:28:53

  Modified:    src/modules/mpm/winnt winnt.c
  Log:
  Win32: Socket reuse is not enabled yet, so always mark used accept sockets
  as being closed.
  
  Revision  Changes    Path
  1.68      +2 -0      apache-2.0/src/modules/mpm/winnt/winnt.c
  
  Index: winnt.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/mpm/winnt/winnt.c,v
  retrieving revision 1.67
  retrieving revision 1.68
  diff -u -r1.67 -r1.68
  --- winnt.c	2000/05/19 05:01:53	1.67
  +++ winnt.c	2000/05/23 17:28:51	1.68
  @@ -923,6 +923,7 @@
                            "reset_acceptex_context: AcceptEx failed for "
                            "listening socket: %d and accept socket: %d", 
                            nsd, context->accept_socket);
  +            context->accept_socket = INVALID_SOCKET;
               return lasterror;
           }
       }
  @@ -1078,6 +1079,7 @@
   
           ap_process_connection(current_conn);
           ap_lingering_close(current_conn);
  +        context->accept_socket = INVALID_SOCKET;
       }
   
       ap_log_error(APLOG_MARK, APLOG_INFO, APR_SUCCESS, server_conf,
  
  
  

Mime
View raw message