diff options
| author | Ian Holsman <ianh@php.net> | 2003-03-27 04:35:44 +0000 |
|---|---|---|
| committer | Ian Holsman <ianh@php.net> | 2003-03-27 04:35:44 +0000 |
| commit | c5fd930eeaece7ccf3421a32522e801b753d88f9 (patch) | |
| tree | 0b86a875c99b2edab844151f78fdeb63e00a835a /sapi/apache2handler/sapi_apache2.c | |
| parent | 953d61e173512809ac4abd8c74f90ef93dcde8c5 (diff) | |
| download | php-git-c5fd930eeaece7ccf3421a32522e801b753d88f9.tar.gz | |
remove flush from standard unbuffered write.
people requiring a flush can turn implicit flush on.
Thanks ilia for benchmarking this!
Diffstat (limited to 'sapi/apache2handler/sapi_apache2.c')
| -rw-r--r-- | sapi/apache2handler/sapi_apache2.c | 8 |
1 files changed, 0 insertions, 8 deletions
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(); } |
