httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@locus.apache.org
Subject cvs commit: apache-2.0/src/lib/apr/network_io/unix sendrecv.c
Date Mon, 13 Nov 2000 14:39:23 GMT
trawick     00/11/13 06:39:21

  Modified:    src      CHANGES
               src/lib/apr/network_io/unix sendrecv.c
  Log:
  APR on FreeBSD: Fix a bug in apr_sendfile() which caused us to report
  a bogus bytes-sent value when the only thing being sent was trailers
  and writev() returned an error (or EAGAIN).
  
  Revision  Changes    Path
  1.321     +4 -0      apache-2.0/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/CHANGES,v
  retrieving revision 1.320
  retrieving revision 1.321
  diff -u -r1.320 -r1.321
  --- CHANGES	2000/11/13 03:42:02	1.320
  +++ CHANGES	2000/11/13 14:39:18	1.321
  @@ -1,4 +1,8 @@
   Changes with Apache 2.0a8
  +  *) APR on FreeBSD: Fix a bug in apr_sendfile() which caused us to report
  +     a bogus bytes-sent value when the only thing being sent was trailers
  +     and writev() returned an error (or EAGAIN).  [Jeff Trawick]
  +
     *) Get SINGLE_LISTEN_UNSERIALIZED_ACCEPT working again.  This uses the
        hints file to determine which platforms define 
        SINGLE_LISTEN_UNSERIALIZED_ACCEPT.
  
  
  
  1.48      +3 -0      apache-2.0/src/lib/apr/network_io/unix/sendrecv.c
  
  Index: sendrecv.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/network_io/unix/sendrecv.c,v
  retrieving revision 1.47
  retrieving revision 1.48
  diff -u -r1.47 -r1.48
  --- sendrecv.c	2000/11/11 00:09:46	1.47
  +++ sendrecv.c	2000/11/13 14:39:19	1.48
  @@ -437,6 +437,9 @@
                   nbytes = rv;
                   rv = 0;
               }
  +            else {
  +                nbytes = 0;
  +            }
           }
       } while (rv == -1 && errno == EINTR);
   
  
  
  

Mime
View raw message