From: Ian Holsman Date: Thu, 27 Mar 2003 04:35:44 +0000 (+0000) Subject: remove flush from standard unbuffered write. X-Git-Tag: RELEASE_0_5~322 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c5fd930eeaece7ccf3421a32522e801b753d88f9;p=php remove flush from standard unbuffered write. people requiring a flush can turn implicit flush on. Thanks ilia for benchmarking this! --- diff --git a/sapi/apache2handler/sapi_apache2.c b/sapi/apache2handler/sapi_apache2.c index b1fedab666..2fadfedeaf 100644 --- a/sapi/apache2handler/sapi_apache2.c +++ b/sapi/apache2handler/sapi_apache2.c @@ -86,14 +86,6 @@ php_apache_sapi_ub_write(const char *str, uint str_length TSRMLS_DC) r->connection->bucket_alloc); APR_BRIGADE_INSERT_TAIL(brigade, bucket); - /* 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. - */ - bucket = apr_bucket_flush_create(r->connection->bucket_alloc); - APR_BRIGADE_INSERT_TAIL(brigade, bucket); - if (ap_pass_brigade(r->output_filters, brigade) != APR_SUCCESS) { php_handle_aborted_connection(); }