From: Ryan Bloom Date: Thu, 2 Nov 2000 20:33:48 +0000 (+0000) Subject: Fix the core_output_filter to work with FLUSH buckets. With this change, X-Git-Tag: APACHE_2_0_ALPHA_8~191 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f46ebf0d3edb79b4acd8b46cf7c7cebafa348624;p=apache Fix the core_output_filter to work with FLUSH buckets. With this change, when the core sees a FLUSH bucket, we automatically send everything to the network. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86805 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http/http_core.c b/modules/http/http_core.c index f387f4bbd4..d318acf1f2 100644 --- a/modules/http/http_core.c +++ b/modules/http/http_core.c @@ -3394,7 +3394,7 @@ static apr_status_t core_output_filter(ap_filter_t *f, ap_bucket_brigade *b) nbytes = 0; /* in case more points to another brigade */ more = NULL; AP_BRIGADE_FOREACH(e, b) { - if (AP_BUCKET_IS_EOS(e)) { + if (AP_BUCKET_IS_EOS(e) || AP_BUCKET_IS_FLUSH(e)) { break; } else if (AP_BUCKET_IS_FILE(e)) {