diff options
author | Stefan Roehrich <sr@php.net> | 2002-07-28 14:08:08 +0000 |
---|---|---|
committer | Stefan Roehrich <sr@php.net> | 2002-07-28 14:08:08 +0000 |
commit | 6f786ebf3ed3c1e499231cab0cc99fd7faf8c0fb (patch) | |
tree | 553b8c2f63aac7d6735969bfc94939a8b838065d /ext/zlib/php_zlib.h | |
parent | 24b570dcacac21495ff7538836c1d723bb87f68b (diff) | |
download | php-git-6f786ebf3ed3c1e499231cab0cc99fd7faf8c0fb.tar.gz |
Commit patch as discussed on LinuxTag and posted to php-dev in June.
Disables zlib.output_compression for scripts with image/ content-type
header (fixes bug #16109) and makes it possible to switch
zlib.output_compression during script execution before the headers are
sent.
@- zlib.output_compression is disabled for "image/" content-type
@ headers and can be changed during script execution. (Stefan)
Diffstat (limited to 'ext/zlib/php_zlib.h')
-rw-r--r-- | ext/zlib/php_zlib.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/zlib/php_zlib.h b/ext/zlib/php_zlib.h index 333eb1224b..ce57652a46 100644 --- a/ext/zlib/php_zlib.h +++ b/ext/zlib/php_zlib.h @@ -66,6 +66,9 @@ extern php_stream_wrapper php_stream_gzip_wrapper; #define phpext_zlib_ptr zlib_module_ptr +#define CODING_GZIP 1 +#define CODING_DEFLATE 2 + #endif /* PHP_ZLIB_H */ /* |