From fc6c483be3cc769a00fb1ba9a789749f18eca4a0 Mon Sep 17 00:00:00 2001 From: Ryan Bloom Date: Fri, 3 Aug 2001 03:41:51 +0000 Subject: [PATCH] Handle the ap_pass_brigade inside the SPLIT_BRIGADE... macro. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89902 13f79535-47bb-0310-9956-ffa450edef68 --- modules/filters/mod_include.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/filters/mod_include.h b/modules/filters/mod_include.h index 6a92e0a57b..15a3b7b61e 100644 --- a/modules/filters/mod_include.h +++ b/modules/filters/mod_include.h @@ -187,9 +187,13 @@ typedef struct include_filter_ctx { if ((APR_BRIGADE_EMPTY(cntxt->ssi_tag_brigade)) && \ (cntxt->head_start_bucket != NULL)) { \ apr_bucket_brigade *tag_plus; \ + int rv; \ \ tag_plus = apr_brigade_split(brgd, cntxt->head_start_bucket); \ - ap_pass_brigade(next, brgd); \ + rv = ap_pass_brigade(next, brgd); \ + if (rv != APR_SUCCESS) { \ + return rv; \ + } \ cntxt->bytes_parsed = 0; \ brgd = tag_plus; \ } -- 2.40.0