summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2002-08-20 20:07:00 +0000
committerMarcus Boerger <helly@php.net>2002-08-20 20:07:00 +0000
commit0f8681fc69275ef7c0ec0db6466af9cf2c3c2a32 (patch)
tree82ceda3d8160db84e55367e16ff61df13636ebcd
parent7bd7e14e4c88300b143d3db14cf452966d9bea6e (diff)
downloadphp-git-0f8681fc69275ef7c0ec0db6466af9cf2c3c2a32.tar.gz
Changed handling of output buffer sizes.
-rw-r--r--ext/standard/url_scanner_ex.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/standard/url_scanner_ex.c b/ext/standard/url_scanner_ex.c
index 59834ed5dd..c8a0f03490 100644
--- a/ext/standard/url_scanner_ex.c
+++ b/ext/standard/url_scanner_ex.c
@@ -1,4 +1,4 @@
-/* Generated by re2c 0.5 on Sat Aug 10 17:30:38 2002 */
+/* Generated by re2c 0.5 on Tue Aug 20 21:52:13 2002 */
#line 1 "/usr/src/php4/ext/standard/url_scanner_ex.re"
/*
+----------------------------------------------------------------------+
@@ -886,10 +886,8 @@ int php_url_scanner_add_var(char *name, int name_len, char *value, int value_len
smart_str val;
if (! BG(url_adapt_state_ex).active) {
- int chunk_size = 4096; /* XXX where should we get chunk_size from? */
-
php_url_scanner_ex_activate(TSRMLS_C);
- php_ob_set_internal_handler(php_url_scanner_output_handler, chunk_size, "URL-Rewriter", 1 TSRMLS_CC);
+ php_ob_set_internal_handler(php_url_scanner_output_handler, 0, "URL-Rewriter", 1 TSRMLS_CC);
BG(url_adapt_state_ex).active = 1;
}