File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,8 @@ PHP NEWS
38
38
a chunk). (andreas dot streichardt at globalpark dot com, Ilia)
39
39
- Fixed bug #49000 (PHP CLI in Interactive mode (php -a) crashes
40
40
when including files from function). (Stas)
41
+ - Fixed bug #48994 (zlib.output_compression does not ouput HTTP headers when
42
+ set to a string value). (Jani)
41
43
- Fixed bug #48980 (Crash when compiling with pdo_firebird). (Felipe)
42
44
- Fixed bug #48962 (cURL does not upload files with specified filename).
43
45
(Ilia)
Original file line number Diff line number Diff line change @@ -35,6 +35,8 @@ ZEND_BEGIN_MODULE_GLOBALS(zlib)
35
35
char * output_handler ;
36
36
ZEND_END_MODULE_GLOBALS (zlib )
37
37
38
+ PHPAPI ZEND_EXTERN_MODULE_GLOBALS (zlib )
39
+
38
40
extern php_stream_filter_factory php_zlib_filter_factory ;
39
41
extern zend_module_entry php_zlib_module_entry ;
40
42
#define zlib_module_ptr & php_zlib_module_entry
Original file line number Diff line number Diff line change @@ -793,7 +793,7 @@ SAPI_API int sapi_send_headers(TSRMLS_D)
793
793
/* Add output compression headers at this late stage in order to make
794
794
it possible to switch it off inside the script. */
795
795
796
- if (zend_ini_long ( "zlib. output_compression" , sizeof ( "zlib.output_compression" ), 0 )) {
796
+ if (ZLIBG ( output_compression )) {
797
797
zval nm_zlib_get_coding_type ;
798
798
zval * uf_result = NULL ;
799
799
You can’t perform that action at this time.
0 commit comments