From: Yann Ylavic Date: Tue, 6 Oct 2015 17:08:41 +0000 (+0000) Subject: mod_substitute: cleanup properly on EOS. X-Git-Tag: 2.5.0-alpha~2752 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34e4c454ca478606f629cf38d0f00b4d70559b5d;p=thirdparty%2Fapache%2Fhttpd.git mod_substitute: cleanup properly on EOS. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1707091 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/filters/mod_substitute.c b/modules/filters/mod_substitute.c index 7370883fa76..b366cb3250e 100644 --- a/modules/filters/mod_substitute.c +++ b/modules/filters/mod_substitute.c @@ -431,6 +431,7 @@ static apr_status_t substitute_filter(ap_filter_t *f, apr_bucket_brigade *bb) } APR_BUCKET_REMOVE(b); APR_BRIGADE_INSERT_TAIL(ctx->passbb, b); + ap_remove_output_filter(f); } /* * No need to handle FLUSH buckets separately as we call