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, 14 Aug 2000 21:42:59 GMT
stoddard    00/08/14 14:42:57

  Modified:    src/modules/mpm/winnt mpm_winnt.c
  Log:
  Win32: Enable lingering close.
  
  Revision  Changes    Path
  1.97      +1 -8      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.96
  retrieving revision 1.97
  diff -u -r1.96 -r1.97
  --- mpm_winnt.c	2000/08/09 14:59:46	1.96
  +++ mpm_winnt.c	2000/08/14 21:42:55	1.97
  @@ -1145,14 +1145,7 @@
           }
           else {
               context->accept_socket = INVALID_SOCKET;
  -            /* Disable lingering close for the moment to fix a seg fault.
  -             * All the sendfile code needs some serious work to return 
  -             * proper error values, handle updating bytes_sent, etc.
  -             * I'll enable lingering close after I've fixed the sendfile
  -             * code
  -             * ap_lingering_close(c);
  -             */
  -            ap_bclose(c->client);
  +            ap_lingering_close(c);
           }
       }
   
  
  
  

Mime
View raw message