From: Joe Orton Date: Sun, 29 Feb 2004 00:25:48 +0000 (+0000) Subject: * server/core.c (core_output_filter): Avoid using EOC bucket after X-Git-Tag: pre_ajp_proxy~602 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6695669dd24f3263ad369e91e9519d9b93101927;p=apache * server/core.c (core_output_filter): Avoid using EOC bucket after deleting it. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102818 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/core.c b/server/core.c index 467b5b06ac..80e900139b 100644 --- a/server/core.c +++ b/server/core.c @@ -3857,7 +3857,7 @@ static apr_status_t core_output_filter(ap_filter_t *f, apr_bucket_brigade *b) if (AP_BUCKET_IS_EOC(e)) { apr_bucket_delete(e); } - if (APR_BUCKET_IS_FLUSH(e)) { + else if (APR_BUCKET_IS_FLUSH(e)) { if (e != APR_BRIGADE_LAST(b)) { more = apr_brigade_split(b, APR_BUCKET_NEXT(e)); }