From: pixl at 7pt dot net Operating system: Linux, Redhat, 2.4.21-9.0.3.ELs PHP version: 4.3.6 PHP Bug Type: Zlib Related Bug description: zlib_output_compression On keepalive connections linger
Description: ------------ PHP 4.3.6 Apache 2 (prefork) When using zlib_output_compression = On, with vBulletin Version 3.0.0 Internet Explorer and Mozilla Firefox does not show that the page has completed loading, until the keepalive timer expires (15 seconds in my config). Doing test with ethereal I see this. with apachebench it works correcly ab -n 2 -k -H "Accept-Encoding: gzip" http://forums.anabolicreview.com/ after the html is pulled the client sends a [FIN] packet and the server terminates the connection. with Mozilla FireFox .8, the client pulls the page and images in about .2 seconds, then sits in globe spinning mode (little animation goes in the corner) for 15 seconds. At 15 seconds the server sends a [FIN-ACK] packet the connection is closed and the client is no longer connected. Internet Explorer 6 does exactly the same as mozilla. This only occurs with zlib_output_compression =on, with zlib_output_compression = off OR the obgzhandler settings on this does not occur. Most of the problem I have is a human one, users see that the animation in there browser is still going for 15 seconds and make complaints that the message board is going slow even when the page has loaded in under a second. I have currenly turned zlib-compression off, and enabled gzip compression in vbulletins settings (im assuming using ob_gzhandler in the php) and compression is working fine, I've just read in enough documentation that zlib_output_compression is the recommended way to run php. If you need certian detailed information please ask, I'll reneable zilb on the server and reproduce the problem. Thank You, Peter apache2 configuration CFLAGS="-O2 -mcpu=pentium4 -march=pentium4"; export CFLAGS "./configure" \ "--prefix=/usr/local/apache" \ "--enable-shared=max" \ "$@" php 4.3.6 configuration './configure' '--with-apxs2=/usr/local/httpd/bin/apxs' '--with-config-file-path=/usr/local/httpd' '--disable-debug' '--disable-ipv6' '--disable-display-source' '--disable-cgi' '--with-zlib' '--with-gettext' '--with-bz2' '--with-gd' '--enable-gd-native-ttf' '--enable-memory-limit' '--enable-sysvshm' '--enable-sysvsem' '--enable-sysvmsg' '--enable-shared' '--with-freetype-dir=/usr' '--with-mysql=/usr' '--with-tiff-dir=/usr' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' -- Edit bug report at http://bugs.php.net/?id=28460&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28460&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28460&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=28460&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=28460&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=28460&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=28460&r=needscript Try newer version: http://bugs.php.net/fix.php?id=28460&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=28460&r=support Expected behavior: http://bugs.php.net/fix.php?id=28460&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=28460&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=28460&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=28460&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28460&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=28460&r=dst IIS Stability: http://bugs.php.net/fix.php?id=28460&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=28460&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=28460&r=float