ID:               28460
 Updated by:       [EMAIL PROTECTED]
 Reported By:      pixl at 7pt dot net
-Status:           Open
+Status:           Feedback
 Bug Type:         Zlib Related
 Operating System: Linux, Redhat,  2.4.21-9.0.3.ELs
 PHP Version:      4.3.6
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

Also respond to the feedback request above, about Apache 1..



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

[2004-05-21 00:08:21] scottmacvicar at ntlworld dot com

Does the same problem occur with apache 1?

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

[2004-05-20 21:09:45] pixl at 7pt dot net

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 this bug report at http://bugs.php.net/?id=28460&edit=1

Reply via email to