From: Sascha Schumann Date: Sat, 8 Jun 2002 18:11:03 +0000 (+0000) Subject: too many flushes are bad X-Git-Tag: php5_5_0~126 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5e148e3875ee30276f9e40e589b800e10a50afdb;p=php too many flushes are bad --- 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(); }