From b38b38dc220d5046c7ccc3f85396ea2ce2437b62 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Fri, 29 Dec 2000 13:59:19 +0000 Subject: [PATCH] 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 --- modules/http/http_protocol.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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: -- 2.50.1