ID:               16109
 Comment by:       phpuser at dpiworld dot com
 Reported By:      pguillot at paanjaru dot com
 Status:           Closed
 Bug Type:         Zlib Related
 Operating System: linux
 PHP Version:      4.1.2
 New Comment:

What version will this fix show up in?  

I have php 4.1.2 and cannot successfully turn off output_compression in
my image display script.  At least it makes no difference. I also
specify a correct header for Content-Type: image/jpeg,  yet that fix
also does not seem effective.

Internet Explorer 6.x (all patches installed) delays display of image
data sent by my script for about 20 seconds or more and then they
suddenly appear.  Had to turn off zlib.output_compression for entire
domain due to this problem, and images are displayed normally again.


Previous Comments:
------------------------------------------------------------------------

[2002-07-28 10:20:56] [EMAIL PROTECTED]

Should be fixed in latest CVS.

Now pages with image/ content-type header aren't compressed and you can
use ini_set with zlib.output_compression during script execeution
(before the headers are sent).

------------------------------------------------------------------------

[2002-07-03 01:00:09] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------

[2002-06-02 17:41:53] [EMAIL PROTECTED]

Are you sure mod_gzip compresses the pictures?

Try to explicitly configure mod_gzip to compress images and please give
us feedback if they work with your Netscape. I did a short test here
and they also didn't work, so it seems really a Netscape problem.

Other test: Does it work if you switch of zlib.output_compression and
instead compress the page via mod_gzip?

------------------------------------------------------------------------

[2002-05-29 03:54:17] php at fatalfx dot com

Here's a short reproducing example script. Since the two pictures on
the php info page are "generated" (inline) the script is very short:

<?php phpinfo(); ?>

Make sure your zlib.output_compression = On and you use Netscape
Communicator 4.79 (Maybe the "bug" is in other Netscape version too but
in 4.79 it is for sure).

Roger

------------------------------------------------------------------------

[2002-05-28 15:47:52] pguillot at paanjaru dot com

Welcome to the twilight zone ...
After a question from Roger Wetzel, I made a few more tests.
It seems the problem is on the netscape side :
I tested Netscape 7.0PR1 and the pictures are ok even with
zlib.output_compression enabled ...
Using my old Netscape 4.77 the problem remains even if the apache
httpd.conf contains a KeepAlive set to Off or MaxRequestsPerChild set
to 1 ... So it's should not be a keep-alive problem.
What still is in question is that when using mod_gzip, the problem
doesn't occur.
So there is a workaround , either disable zlib.output_compression or
use a decent mozilla/netscape.
Patrick

------------------------------------------------------------------------

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
    http://bugs.php.net/16109

-- 
Edit this bug report at http://bugs.php.net/?id=16109&edit=1

Reply via email to