]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
mod_substitute: cleanup properly on EOS.
authorYann Ylavic <ylavic@apache.org>
Tue, 6 Oct 2015 17:08:41 +0000 (17:08 +0000)
committerYann Ylavic <ylavic@apache.org>
Tue, 6 Oct 2015 17:08:41 +0000 (17:08 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1707091 13f79535-47bb-0310-9956-ffa450edef68

modules/filters/mod_substitute.c

index 7370883fa7656b4a01aa991a5196f489f8e8bc4d..b366cb3250ea69e01ab20e694dbd956e9836605b 100644 (file)
@@ -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