summaryrefslogtreecommitdiff
path: root/main/main.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2000-11-23 18:43:18 +0000
committerZeev Suraski <zeev@php.net>2000-11-23 18:43:18 +0000
commit888f376e4cc2c87b0e0c4214e3a5af52f4160b28 (patch)
tree9955eac376d48b53db77128668380d9494117637 /main/main.c
parent0af5c36d9402be4fa2952f5e137abd68f26bc503 (diff)
downloadphp-git-888f376e4cc2c87b0e0c4214e3a5af52f4160b28.tar.gz
Very initial work on chunked output buffering. It's really unoptimized at
this time, and it can crash under some circumstances, but that's the concept...
Diffstat (limited to 'main/main.c')
-rw-r--r--main/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/main.c b/main/main.c
index e9ec859198..4d92d309d2 100644
--- a/main/main.c
+++ b/main/main.c
@@ -632,9 +632,9 @@ int php_request_startup(CLS_D ELS_DC PLS_DC SLS_DC)
Z_STRLEN_P(output_handler) = strlen(PG(output_handler)); /* this can be optimized */
Z_STRVAL_P(output_handler) = estrndup(PG(output_handler), Z_STRLEN_P(output_handler));
Z_TYPE_P(output_handler) = IS_STRING;
- php_start_ob_buffer(output_handler);
+ php_start_ob_buffer(output_handler, 0);
} else if (PG(output_buffering)) {
- php_start_ob_buffer(NULL);
+ php_start_ob_buffer(NULL, 0);
} else if (PG(implicit_flush)) {
php_start_implicit_flush();
}