cvs: php4 /sapi/apache2filter sapi_apache2.c
| From: | Sascha Schumann | Date: | Sat, 08 Jun 2002 18:11:03 +0000 |
| Subject: | cvs: php4 /sapi/apache2filter sapi_apache2.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-12261@lists.php.net to get a copy of this message | ||
sas Sat Jun 8 14:11:03 2002 EDT
Modified files:
/php4/sapi/apache2filter sapi_apache2.c
Log:
too many flushes are bad
Index: php4/sapi/apache2filter/sapi_apache2.c
diff -u php4/sapi/apache2filter/sapi_apache2.c:1.76 php4/sapi/apache2filter/sapi_apache2.c:1.77
--- php4/sapi/apache2filter/sapi_apache2.c:1.76 Sun May 5 14:15:33 2002
+++ php4/sapi/apache2filter/sapi_apache2.c Sat Jun 8 14:11:03 2002
@@ -66,13 +66,15 @@
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();
}