Edit report at https://bugs.php.net/bug.php?id=62627&edit=1

 ID:               62627
 Updated by:       php-bugs@lists.php.net
 Reported by:      roctom at gmail dot com
 Summary:          Zlib output handler enabled randomly
-Status:           Feedback
+Status:           No Feedback
 Type:             Bug
 Package:          *Compression related
 Operating System: Debian 2.6.32-5-xen-amd64
 PHP Version:      5.4.5

 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


Previous Comments:
------------------------------------------------------------------------
[2012-07-25 10:34:04] larue...@php.net

Please try using this snapshot:

  http://snaps.php.net/php-trunk-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/

a bug #55544  has been fixed recently, please try with the snapshot

------------------------------------------------------------------------
[2012-07-25 08:42:59] indey...@php.net

experienced the same on 5.4.4, CentOS/6.3

------------------------------------------------------------------------
[2012-07-21 05:08:48] roctom at gmail dot com

Description:
------------
Having upgraded from 5.4.0 to 5.4.5, I now get the zlib output compression 
handler 
as part of ob_list_handlers() randomly which generates issues with ob_start().

zlib.output_compression is set to off.

'./configure' '--sysconfdir=/etc' '--with-config-file-path=/etc' '--with-config-
file-scan-dir=/etc/php.d' '--with-apxs2=/usr/sbin/apxs' '--with-openssl' 
'--with-
gd' '--with-curl=/usr/src/curl-7.21.7/include' '--with-zlib' 
'--enable-calendar' 
'--enable-mbstring' '--enable-zip' '--enable-sockets' '--with-mcrypt' '--with-
mysql=mysqlnd' '--with-mysqli=mysqlnd' '--with-pdo-mysql=mysqlnd' '--with-
kerberos' '--enable-ftp' '--disable-posix' '--enable-bcmath' 
'--enable-gd-native-
ttf' '--with-freetype-dir' '--with-jpeg-dir=/usr/local' '--with-png-
dir=/usr/local' '--with-xsl=/usr/local/lib' '--enable-exif'

Test script:
---------------
<?php
//using output_buffering=On
print_r(ob_list_handlers());
ob_end_flush();

ob_start("ob_gzhandler");
print_r(ob_list_handlers());
ob_end_flush();

// anonymous functions
ob_start(create_function('$string', 'return $string;'));
print_r(ob_list_handlers());
ob_end_flush();

Expected result:
----------------
Array
(
    [0] => default output handler
)

Array
(
    [0] => ob_gzhandler
)

Array
(
    [0] => default output handler
)

Actual result:
--------------
First execution (in browser)
Array
(
    [0] => default output handler
)
Array
(
    [0] => ob_gzhandler
)
Array
(
    [0] => 
)

Second execution (in browser)
Firefox 16.1a
Array
(
    [0] => default output handler
    [1] => zlib output compression
)


Chrome 2.0.1132.57
Array
(
    [0] => default output handler
    [1] => zlib output compression
)
‹s,*J¬äÒà
R‚hƒX[;…”Ô´ÄÒœ…üÒ’‚Ò…ŒÄ¼”œÔ"ˆ
C°Šü¤øô*˜¸&HùÓàDArray
(
    [0] => default output handler
    [1] => 
)


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



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

Reply via email to