From: André Malo Date: Sat, 3 Apr 2004 20:50:00 +0000 (+0000) Subject: no longer remove the EOS bucket X-Git-Tag: pre_ajp_proxy~419 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d3ffc7317148fe86a03ae73b2e495b6cbe4b0aaa;p=apache no longer remove the EOS bucket PR: 27928 Submitted by: Bojan Smojver git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103263 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index 2d612a8fa2..10fef61702 100644 --- a/CHANGES +++ b/CHANGES @@ -2,6 +2,9 @@ Changes with Apache 2.1.0-dev [Remove entries to the current 2.0 section below, when backported] + *) mod_logio no longer removes the EOS bucket. PR 27928. + [Bojan Smojver ] + *) mod_rewrite no longer turns forward proxy requests into reverse proxy requests. PR 28125 [ast domdv.de, André Malo] diff --git a/modules/loggers/mod_logio.c b/modules/loggers/mod_logio.c index 6d57c3ce1d..3154bb87ba 100644 --- a/modules/loggers/mod_logio.c +++ b/modules/loggers/mod_logio.c @@ -127,10 +127,8 @@ static apr_status_t logio_out_filter(ap_filter_t *f, /* End of data, make sure we flush */ if (APR_BUCKET_IS_EOS(b)) { - APR_BRIGADE_INSERT_TAIL(bb, - apr_bucket_flush_create(f->c->bucket_alloc)); - APR_BUCKET_REMOVE(b); - apr_bucket_destroy(b); + APR_BUCKET_INSERT_BEFORE(b, + apr_bucket_flush_create(f->c->bucket_alloc)); } return ap_pass_brigade(f->next, bb);