apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stodd...@apache.org
Subject cvs commit: apr/network_io/win32 sendrecv.c
Date Sat, 27 Apr 2002 20:47:57 GMT
stoddard    02/04/27 13:47:57

  Modified:    network_io/win32 sendrecv.c
  Log:
  A read with 0 bytes is an APR_EOF. Found this running ab.
  
  Revision  Changes    Path
  1.47      +1 -2      apr/network_io/win32/sendrecv.c
  
  Index: sendrecv.c
  ===================================================================
  RCS file: /home/cvs/apr/network_io/win32/sendrecv.c,v
  retrieving revision 1.46
  retrieving revision 1.47
  diff -u -r1.46 -r1.47
  --- sendrecv.c	13 Mar 2002 20:39:25 -0000	1.46
  +++ sendrecv.c	27 Apr 2002 20:47:57 -0000	1.47
  @@ -114,8 +114,7 @@
       }
   
       *len = dwBytes;
  -    return APR_SUCCESS;
  -
  +    return dwBytes == 0 ? APR_EOF : APR_SUCCESS;
   }
   
   
  
  
  

Mime
View raw message