From 5e148e3875ee30276f9e40e589b800e10a50afdb Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Sat, 8 Jun 2002 18:11:03 +0000 Subject: [PATCH] too many flushes are bad --- sapi/apache2filter/sapi_apache2.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sapi/apache2filter/sapi_apache2.c b/sapi/apache2filter/sapi_apache2.c index 4bd2a52146..d1253302e9 100644 --- a/sapi/apache2filter/sapi_apache2.c +++ b/sapi/apache2filter/sapi_apache2.c @@ -66,13 +66,15 @@ php_apache_sapi_ub_write(const char *str, uint str_length TSRMLS_DC) b = apr_bucket_transient_create(str, str_length, ba); APR_BRIGADE_INSERT_TAIL(bb, b); +#if 0 /* Add a Flush bucket to the end of this brigade, so that * the transient buckets above are more likely to make it out * the end of the filter instead of having to be copied into * someone's setaside. */ b = apr_bucket_flush_create(ba); APR_BRIGADE_INSERT_TAIL(bb, b); - +#endif + if (ap_pass_brigade(f->next, bb) != APR_SUCCESS) { php_handle_aborted_connection(); } -- 2.50.1