stoddard 2002/10/21 20:35:47
Modified: . CHANGES
network_io/win32 sockets.c
Log:
Win32: Fix apr_shutdown() to honor the setting of apr_shutdown_how_e
Revision Changes Path
1.348 +4 -0 apr/CHANGES
Index: CHANGES
===================================================================
RCS file: /home/cvs/apr/CHANGES,v
retrieving revision 1.347
retrieving revision 1.348
diff -u -r1.347 -r1.348
--- CHANGES 19 Oct 2002 19:05:53 -0000 1.347
+++ CHANGES 22 Oct 2002 03:35:47 -0000 1.348
@@ -1,4 +1,8 @@
Changes with APR 0.9.2
+ *) Win32: apr_shutdown was not honoring apr_shutdown_how_e and
+ always shutting down the socket for read. This could result
+ in Apache HTTPD 2.0 clients getting early connection closures
+ because lingering_close() was broken. [Bill Stoddard, Allan Edwards]
*) Add apr_atomic_casptr() to support atomic compare-and-swap
of pointers [Brian Pane]
1.90 +1 -1 apr/network_io/win32/sockets.c
Index: sockets.c
===================================================================
RCS file: /home/cvs/apr/network_io/win32/sockets.c,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -r1.89 -r1.90
--- sockets.c 18 Oct 2002 15:08:09 -0000 1.89
+++ sockets.c 22 Oct 2002 03:35:47 -0000 1.90
@@ -190,7 +190,7 @@
{
int winhow = 0;
-#if SD_RECEIVE
+#ifdef SD_RECEIVE
switch (how) {
case APR_SHUTDOWN_READ: {
winhow = SD_RECEIVE;