From 48e11e39985868a6436aea47cec5f62c1017c882 Mon Sep 17 00:00:00 2001 From: Bill Stoddard Date: Fri, 6 Jul 2001 19:49:47 +0000 Subject: [PATCH] Grrr.. Cliff warned me about this. APR should return APR_SUCCESS with zero bytes read rather than APR_EOF. Will work on APR later... git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89508 13f79535-47bb-0310-9956-ffa450edef68 --- server/protocol.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/protocol.c b/server/protocol.c index d7328b257c..b6c1b95733 100644 --- a/server/protocol.c +++ b/server/protocol.c @@ -929,9 +929,9 @@ AP_CORE_DECLARE_NONSTD(apr_status_t) ap_content_length_filter(ap_filter_t *f, 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; } } -- 2.40.0