You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2002/10/14 00:25:10 UTC

cvs commit: apr/network_io/win32 sendrecv.c

wrowe       2002/10/13 15:25:09

  Modified:    network_io/win32 sendrecv.c
  Log:
    disconnected is determined in the while (bytes_to_send) {} logic
  
  Revision  Changes    Path
  1.58      +1 -1      apr/network_io/win32/sendrecv.c
  
  Index: sendrecv.c
  ===================================================================
  RCS file: /home/cvs/apr/network_io/win32/sendrecv.c,v
  retrieving revision 1.57
  retrieving revision 1.58
  diff -u -r1.57 -r1.58
  --- sendrecv.c	6 Aug 2002 06:50:17 -0000	1.57
  +++ sendrecv.c	13 Oct 2002 22:25:09 -0000	1.58
  @@ -409,7 +409,7 @@
            * Note: The application must have stored the socket prior to making
            * the call to apr_sendfile in order to either reuse it or close it.
            */
  -        if (flags & APR_SENDFILE_DISCONNECT_SOCKET) {
  +        if (disconnected) {
               sock->disconnected = 1;
               sock->socketdes = INVALID_SOCKET;
           }