From: Ruediger Pluem Date: Wed, 20 Feb 2008 13:44:22 +0000 (+0000) Subject: * Set aside buckets that remain unprocessed in the filter context for the X-Git-Tag: 2.3.0~955 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5d814f6566cb4a6b6bbc26423458bbea8d630f93;p=apache * Set aside buckets that remain unprocessed in the filter context for the next filter pass. PR: 44447 Submitted by: Harald Niesche Reviewed by: rpluem git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@629456 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index 59c601c505..311bf36cbd 100644 --- a/CHANGES +++ b/CHANGES @@ -2,6 +2,9 @@ Changes with Apache 2.3.0 [ When backported to 2.2.x, remove entry from this file ] + *) mod_include: Correctly handle SSI directives split over multiple filter + passes. PR 44447 [Harald Niesche ] + *) http_filters: Don't returm 100-continue on client error PR 43711 [Chetan Reddy ] diff --git a/modules/filters/mod_include.c b/modules/filters/mod_include.c index 2003e20b20..c5a7ab9d51 100644 --- a/modules/filters/mod_include.c +++ b/modules/filters/mod_include.c @@ -3312,6 +3312,7 @@ static apr_status_t send_parsed_content(ap_filter_t *f, apr_bucket_brigade *bb) if (store) { if (index) { APR_BUCKET_REMOVE(b); + apr_bucket_setaside(b, r->pool); APR_BRIGADE_INSERT_TAIL(intern->tmp_bb, b); b = newb; } @@ -3364,6 +3365,7 @@ static apr_status_t send_parsed_content(ap_filter_t *f, apr_bucket_brigade *bb) if (store) { if (index) { APR_BUCKET_REMOVE(b); + apr_bucket_setaside(b, r->pool); APR_BRIGADE_INSERT_TAIL(intern->tmp_bb, b); b = newb; } @@ -3404,6 +3406,7 @@ static apr_status_t send_parsed_content(ap_filter_t *f, apr_bucket_brigade *bb) default: /* partial match */ newb = APR_BUCKET_NEXT(b); APR_BUCKET_REMOVE(b); + apr_bucket_setaside(b, r->pool); APR_BRIGADE_INSERT_TAIL(intern->tmp_bb, b); b = newb; break;