You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by st...@locus.apache.org on 2000/08/14 23:42:59 UTC
cvs commit: apache-2.0/src/modules/mpm/winnt mpm_winnt.c
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);
}
}