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 Mon, 20 May 2002 18:29:49 GMT
stoddard    02/05/20 11:29:49

  Modified:    network_io/win32 sendrecv.c
  Log:
  Win32: Need to check for WSA_IO_PENDING.
  
  Revision  Changes    Path
  1.49      +2 -1      apr/network_io/win32/sendrecv.c
  
  Index: sendrecv.c
  ===================================================================
  RCS file: /home/cvs/apr/network_io/win32/sendrecv.c,v
  retrieving revision 1.48
  retrieving revision 1.49
  diff -u -r1.48 -r1.49
  --- sendrecv.c	20 May 2002 13:43:57 -0000	1.48
  +++ sendrecv.c	20 May 2002 18:29:49 -0000	1.49
  @@ -324,7 +324,8 @@
                             dwFlags);       /* flags to control various aspects of TransmitFile
*/
           if (!rv) {
               status = apr_get_netos_error();
  -            if (status == APR_FROM_OS_ERROR(ERROR_IO_PENDING)) {
  +            if ((status == APR_FROM_OS_ERROR(ERROR_IO_PENDING)) ||
  +                (status == APR_FROM_OS_ERROR(WSA_IO_PENDING))) {
                   HANDLE event;
   #ifdef WAIT_FOR_EVENT
                   event = overlapped.hEvent;
  
  
  

Mime
View raw message