]> granicus.if.org Git - php/commitdiff
too many flushes are bad
authorSascha Schumann <sas@php.net>
Sat, 8 Jun 2002 18:11:03 +0000 (18:11 +0000)
committerSascha Schumann <sas@php.net>
Sat, 8 Jun 2002 18:11:03 +0000 (18:11 +0000)
sapi/apache2filter/sapi_apache2.c

index 4bd2a5214662dd6ba79b8d3d0b51d39b01a52fc7..d1253302e9d64266f5326f4f693e77885811c6bf 100644 (file)
@@ -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();
        }