#34240 [Fbk->Opn]: zlib.output_compression=on responsing corrupted data
| From: | xuefer at 21cn dot com | Date: | Tue, 30 Aug 2005 12:14:21 +0000 |
| Subject: | #34240 [Fbk->Opn]: zlib.output_compression=on responsing corrupted data | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-84192@lists.php.net to get a copy of this message | ||
ID: 34240
User updated by: xuefer at 21cn dot com
Reported By: xuefer at 21cn dot com
-Status: Feedback
+Status: Open
Bug Type: Zlib Related
Operating System: *
PHP Version: 5CVS, 6CVS, 4CVS (2005-08-25)
Assigned To: iliaa
New Comment:
i meant the fix to the bug #34191, not the patch in it. can you please
check the folling diff?
Modified files:
/php-src/ext/zlib zlib.c
Log:
Fixed bug #34191 (ob_gzhandler does not enforce trailing \0).
http://cvs.php.net/diff.php/php-src/ext/zlib/zlib.c?r1=1.183&r2=1.184&ty=u
i'll make some time for the "shortest configure option" after you
checked the above url. as i still can reproduce it by patch/unpatch it
==========
off topic issue:
1. i didn't see when the version is changed to "PHP Version: 5CVS,
6CVS, 4CVS (2005-08-25)" (no +-) what's up with php bug reporting
system?
2. where did the following change/comment go? i see it in my mailbox
but not on http://bugs.php.net.
-Status: Feedback
+Status: Assigned
Bug Type: Zlib Related
Operating System: gentoo
PHP Version: 6CVS-2005-08-24 (CVS)
-Assigned To:
+Assigned To: iliaa
New Comment:
Yeah, with either on command line with php CGI or with Apache2.
Enough?
:)
Previous Comments:
------------------------------------------------------------------------
[2005-08-30 13:23:51] sniper@php.net
It doesn't make any difference with/without the patch for bug #34191
(so I don't think it really broke anything)
Try with the shortest possible configure line:
# ./configure --disable-all --disable-cli --with-zlib
------------------------------------------------------------------------
[2005-08-24 21:14:51] iliaa@php.net
Can you replicate in any other SAPI, I don't have fastcgi sapi
installed anywhere.
------------------------------------------------------------------------
[2005-08-24 21:05:07] xuefer at 21cn dot com
Description:
------------
fix to bugs@34191 broken 2 echos
sapi: fastcgi
zlib.output_compression = On
turn off=no problem
revert the fix=no problem too
can llia please look into it?
Reproduce code:
---------------
<?php
echo 1;
echo 2;
?>
Expected result:
----------------
12
Actual result:
--------------
empty page in browser (corrupted gzip data)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34240&edit=1