httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stodd...@apache.org
Subject cvs commit: httpd-2.0/server protocol.c
Date Fri, 06 Jul 2001 19:49:50 GMT
stoddard    01/07/06 12:49:50

  Modified:    server   protocol.c
  Log:
  Grrr.. Cliff warned me about this.  APR should return APR_SUCCESS with
  zero bytes read rather than APR_EOF. Will work on APR later...
  
  Revision  Changes    Path
  1.31      +3 -3      httpd-2.0/server/protocol.c
  
  Index: protocol.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/protocol.c,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- protocol.c	2001/07/06 00:28:41	1.30
  +++ protocol.c	2001/07/06 19:49:47	1.31
  @@ -929,9 +929,9 @@
                           break;
                       }
                   }
  -                else  { 
  -                    ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, "ap_content_length_filter:
"
  -                                  "apr_bucket_read() failed");
  +                else if (rv != APR_EOF) {
  +                    ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, 
  +                        "ap_content_length_filter: apr_bucket_read() failed");
                       return rv;
                   }
               }
  
  
  

Mime
View raw message