From 16c91f9f50ef056c6c398cd1467b3fd40bac840d Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Wed, 5 Jul 2006 11:08:11 +0000 Subject: [PATCH] - fix HttpResponse::capture() failure if buffered output exceeds 40k --- http_response_object.c | 2 +- package2.xml | 5 ++--- php_http.h | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/http_response_object.c b/http_response_object.c index 32bd5f8..fc4bf22 100644 --- a/http_response_object.c +++ b/http_response_object.c @@ -1213,7 +1213,7 @@ PHP_METHOD(HttpResponse, capture) UPD_STATIC_PROP(long, catch, 1); php_end_ob_buffers(0 TSRMLS_CC); - php_start_ob_buffer(NULL, 40960, 0 TSRMLS_CC); + php_start_ob_buffer(NULL, 0, 0 TSRMLS_CC); /* register shutdown function */ { diff --git a/package2.xml b/package2.xml index 62d85d0..844d680 100644 --- a/package2.xml +++ b/package2.xml @@ -30,7 +30,7 @@ support. Parallel requests are available for PHP 5 and greater. 2006-00-00 - 1.0.1 + 1.0.2dev 1.0.0 @@ -39,8 +39,7 @@ support. Parallel requests are available for PHP 5 and greater. BSD, revised diff --git a/php_http.h b/php_http.h index 389493d..e3ccb63 100644 --- a/php_http.h +++ b/php_http.h @@ -15,7 +15,7 @@ #ifndef PHP_EXT_HTTP_H #define PHP_EXT_HTTP_H -#define PHP_EXT_HTTP_VERSION "1.0.1" +#define PHP_EXT_HTTP_VERSION "1.0.2dev" #ifdef HAVE_CONFIG_H # include "config.h" -- 2.30.2