From: Cliff Woolley Date: Mon, 26 Nov 2001 18:49:36 +0000 (+0000) Subject: The survey says yes, that is in fact the expected behavior. :) X-Git-Tag: 2.0.29~12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c32bd92a5b21e801017b20bbc69b79c152a6a054;p=apache The survey says yes, that is in fact the expected behavior. :) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92182 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/core.c b/server/core.c index 7e015a99bb..b34f7a2af7 100644 --- a/server/core.c +++ b/server/core.c @@ -3044,9 +3044,7 @@ static apr_status_t core_output_filter(ap_filter_t *f, apr_bucket_brigade *b) /* Iterate over the brigade: collect iovecs and/or a file */ APR_BRIGADE_FOREACH(e, b) { - /* XXX: APR_BRIGADE_FOREACH breaks the value of e! - * is that the expected behavior? - */ + /* keep track of the last bucket processed */ last_e = e; if (APR_BUCKET_IS_EOS(e) || APR_BUCKET_IS_FLUSH(e)) { break;