From 6f786ebf3ed3c1e499231cab0cc99fd7faf8c0fb Mon Sep 17 00:00:00 2001 From: Stefan Roehrich Date: Sun, 28 Jul 2002 14:08:08 +0000 Subject: 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) --- ext/zlib/php_zlib.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ext/zlib/php_zlib.h') 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 */ /* -- cgit v1.2.1