From: Michael Wallner Date: Mon, 19 Sep 2011 14:37:00 +0000 (+0000) Subject: Fixed bug #55544 ob_gzhandler always conflicts with zlib.output_compression X-Git-Tag: php-5.4.0beta2~104 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=85a62e9086db7a8ddfcda4ab1279a2439935f8d5;p=php Fixed bug #55544 ob_gzhandler always conflicts with zlib.output_compression --- diff --git a/NEWS b/NEWS index b3a2689c02..8d64526406 100644 --- a/NEWS +++ b/NEWS @@ -7,6 +7,10 @@ PHP NEWS . Fixed bug #55705 (Omitting a callable typehinted argument causes a segfault). (Felipe, Laruence) +- Zlib: + . Fixed bug #55544 (ob_gzhandler always conflicts with + zlib.output_compression). (Mike) + 15 Sep 2011, PHP 5.4.0 Beta - General improvements: . Added callable typehint. (Hannes) diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c index b5300fc334..d5851ecb29 100644 --- a/ext/zlib/zlib.c +++ b/ext/zlib/zlib.c @@ -847,6 +847,7 @@ static PHP_MSHUTDOWN_FUNCTION(zlib) /* {{{ PHP_RINIT_FUNCTION */ static PHP_RINIT_FUNCTION(zlib) { + ZLIBG(output_compression) = 0; ZLIBG(compression_coding) = 0; php_zlib_output_compression_start(TSRMLS_C);