Edit report at https://bugs.php.net/bug.php?id=61423&edit=1
ID: 61423 User updated by: borrible13th at gmx dot net Reported by: borrible13th at gmx dot net Summary: gzip compression fails -Status: Closed +Status: Assigned Type: Bug Package: SOAP related Operating System: ALL PHP Version: 5.4.0 Assigned To: iliaa Block user comment: N Private report: N New Comment: "Merge branch 'PHP-5.3' into PHP-5.4" (7a1c765385) reverted this bugfix! :( Please re-commit it to branch PHP-5.4 only. Thanks in advance! Previous Comments: ------------------------------------------------------------------------ [2012-03-24 16:28:33] il...@php.net This bug has been fixed in SVN. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. For Windows: http://windows.php.net/snapshots/ Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2012-03-22 15:52:39] borrible13th at gmx dot net This bug is PHP 5.4 only, and not PHP 5.3! So, applying the bugfix on branch PHP-5.3 is totally wrong! Zlib introduces new constants ZLIB_ENCODING_RAW, ZLIB_ENCODING_GZIP, ZLIB_ENCODING_DEFLATE in PHP 5.4 and redefines the older constants of PHP 5.3 and older (FORCE_GZIP as ZLIB_ENCODING_GZIP and FORCE_DEFLATE as ZLIB_ENCODING_DEFLATE). Sorry for changing status again. --- Overview of constants in ext/zlib/php_zlib.h: PHP 5.3: CODING_GZIP 1 (registered as "FORCE_GZIP") CODING_DEFLATE 2 (registered as "FORCE_DEFLATE") PHP 5.4: PHP_ZLIB_ENCODING_RAW -0xf (registered as "ZLIB_ENCODING_RAW") PHP_ZLIB_ENCODING_GZIP 0x1f (31) (registered as "ZLIB_ENCODING_GZIP" and "FORCE_GZIP") PHP_ZLIB_ENCODING_DEFLATE 0x0f (15) (registered as "ZLIB_ENCODING_DEFLATE" and "FORCE_DEFLATE") [PHP_ZLIB_ENCODING_ANY 0x2f (47)] ------------------------------------------------------------------------ [2012-03-22 13:54:48] il...@php.net This bug has been fixed in SVN. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. For Windows: http://windows.php.net/snapshots/ Thank you for the report, and for helping us make PHP better. There was an issue with the fix push, all good now. ------------------------------------------------------------------------ [2012-03-22 13:48:23] il...@php.net Automatic comment on behalf of iliaa Revision: http://git.php.net/?p=php-src.git;a=commit;h=f9f631fb765dc08e3d62073b6eb35ce1b11db0e4 Log: Fixed bug #61423 (gzip compression fails). ------------------------------------------------------------------------ [2012-03-22 13:47:22] il...@php.net Automatic comment on behalf of iliaa Revision: http://git.php.net/?p=php-src.git;a=commit;h=f9f631fb765dc08e3d62073b6eb35ce1b11db0e4 Log: Fixed bug #61423 (gzip compression fails). ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=61423 -- Edit this bug report at https://bugs.php.net/bug.php?id=61423&edit=1