From: Jeff Trawick Date: Fri, 29 Dec 2000 13:59:19 +0000 (+0000) Subject: ap_content_length_filter(): if ap_save_brigade() fails, tell the caller X-Git-Tag: APACHE_2_0_BETA_CANDIDATE_1~304 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b38b38dc220d5046c7ccc3f85396ea2ce2437b62;p=apache ap_content_length_filter(): if ap_save_brigade() fails, tell the caller git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87549 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c index d95521abf2..e31edd11b0 100644 --- a/modules/http/http_protocol.c +++ b/modules/http/http_protocol.c @@ -2336,8 +2336,7 @@ AP_CORE_DECLARE_NONSTD(apr_status_t) ap_content_length_filter(ap_filter_t *f, } if ((ctx->curr_len < AP_MIN_BYTES_TO_WRITE) && !send_it) { - ap_save_brigade(f, &ctx->saved, &b); - return APR_SUCCESS; + return ap_save_brigade(f, &ctx->saved, &b); } /* We will compute a content length if: