summaryrefslogtreecommitdiff
path: root/ext/zlib/php_zlib.h
diff options
context:
space:
mode:
authorStefan Roehrich <sr@php.net>2002-07-28 14:08:08 +0000
committerStefan Roehrich <sr@php.net>2002-07-28 14:08:08 +0000
commit6f786ebf3ed3c1e499231cab0cc99fd7faf8c0fb (patch)
tree553b8c2f63aac7d6735969bfc94939a8b838065d /ext/zlib/php_zlib.h
parent24b570dcacac21495ff7538836c1d723bb87f68b (diff)
downloadphp-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.h3
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 */
/*