summaryrefslogtreecommitdiff
path: root/sapi
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2002-06-08 18:11:03 +0000
committerSascha Schumann <sas@php.net>2002-06-08 18:11:03 +0000
commit5e148e3875ee30276f9e40e589b800e10a50afdb (patch)
tree5ef733d2a2e08b89de5a0cac198ba55e0771742d /sapi
parent2ed7358250d32d5727b346826f0c3a512490abd0 (diff)
downloadphp-git-5e148e3875ee30276f9e40e589b800e10a50afdb.tar.gz
too many flushes are bad
Diffstat (limited to 'sapi')
-rw-r--r--sapi/apache2filter/sapi_apache2.c4
1 files changed, 3 insertions, 1 deletions
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();
}