bjh         99/11/01 02:50:48

  Modified:    src/main http_protocol.c
  Log:
  In ap_send_fb_length() don't treat APR_EOF as a fatal error.
  
  Revision  Changes    Path
  1.32      +1 -1      apache-2.0/src/main/http_protocol.c
  
  Index: http_protocol.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/main/http_protocol.c,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- http_protocol.c   1999/10/31 09:13:22     1.31
  +++ http_protocol.c   1999/11/01 10:50:47     1.32
  @@ -2095,7 +2095,7 @@
       while (!ap_is_aborted(r->connection)) {
           rv = ap_bread(fb, buf, sizeof(buf), &n);
           if (n == 0) {
  -            if (rv == APR_SUCCESS) {    /* eof */
  +            if (rv == APR_SUCCESS || rv == APR_EOF) {    /* eof */
                   (void) ap_rflush(r);
                   break;
               }
  
  
  

Reply via email to