From f46ebf0d3edb79b4acd8b46cf7c7cebafa348624 Mon Sep 17 00:00:00 2001 From: Ryan Bloom Date: Thu, 2 Nov 2000 20:33:48 +0000 Subject: [PATCH] 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 --- modules/http/http_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- 2.50.1