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 mpm_winnt.c
Date Mon, 21 Aug 2000 02:09:34 GMT
stoddard    00/08/20 19:09:33

  Modified:    src/modules/mpm/winnt mpm_winnt.c
  Log:
  Win32: Don't count the AcceptEx context when reset_acceptex_context() fails.
  
  Revision  Changes    Path
  1.98      +2 -2      apache-2.0/src/modules/mpm/winnt/mpm_winnt.c
  
  Index: mpm_winnt.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/mpm/winnt/mpm_winnt.c,v
  retrieving revision 1.97
  retrieving revision 1.98
  diff -u -r1.97 -r1.98
  --- mpm_winnt.c	2000/08/14 21:42:55	1.97
  +++ mpm_winnt.c	2000/08/21 02:09:33	1.98
  @@ -914,8 +914,6 @@
       SOCKET nsd;
       int rc;
   
  -    context->lr->count++;
  -
       /* recreate and initialize the accept socket if it is not being reused */
       apr_get_os_sock(&nsd, context->lr->sd);
       if (context->accept_socket == INVALID_SOCKET) {
  @@ -959,6 +957,8 @@
               return rc;
           }
       }
  +
  +    context->lr->count++;
   
       return APR_SUCCESS;
   }
  
  
  

Mime
View raw message