Bug #44083 [Opn->Wfx]: virtual() not outputting results if zlib.output_compression = On
| From: | felipe@php.net | Date: | Sun, 20 Jun 2010 22:32:12 +0000 |
| Subject: | Bug #44083 [Opn->Wfx]: virtual() not outputting results if zlib.output_compression = On | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-151696@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=44083&edit=1
ID: 44083
Updated by: felipe@php.net
Reported by: mjsabby at gmail dot com
Summary: virtual() not outputting results if
zlib.output_compression = On
-Status: Open
+Status: Wont fix
Type: Bug
Package: Apache2 related
Operating System: Fedora 7
PHP Version: 6CVS-2008-02-09 (CVS)
New Comment:
Old trunk related.
Previous Comments:
------------------------------------------------------------------------
[2009-04-20 20:16:12] mv at supportex dot net
reproduced 100% on 1 box with 5.2.6-2.fc9 httpd 2.2.9-1.fc9 i386, so
setting zlib_output_compression Off helps
on the other box, virtual() is not working regardless of setting
zlib_output_compression Off nor setting buffering Off
------------------------------------------------------------------------
[2008-02-09 13:44:11] mjsabby at gmail dot com
Description:
------------
It seems in PHP6 (from CVS), virtual() doesn't work, well not the way it
used to if zlib.output_compression = On
In fact, as soon as the virtual request is called, the remaining
output's after that call are also not sent to the browser.
However, apache access logs say that they served correct amount of
bytes.
Setting zlib.output_compression = Off makes it work just fine.
Reproduce code:
---------------
pointless.txt:
Hello World
virtual.php
<?php
echo "I can see this\n";
virtual('pointless.txt');
echo "\nBut not this";
Expected result:
----------------
I can see this
Hello World
But not this
Actual result:
--------------
I can see this
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=44083&edit=1