ID: 40472
User updated by: fuitad at gmail dot com
Reported By: fuitad at gmail dot com
Status: Open
Bug Type: Output Control
Operating System: FreeBSD
PHP Version: 5.2.1
New Comment:
[fmg@ib-apache1 ~]$ telnet fuitad.com 80
Trying 209.172.63.166...
Connected to fuitad.com.
Escape character is '^]'.
GET / HTTP/1.1
Host:fuitad.com
Connection: close
HTTP/1.1 200 OK
Date: Wed, 14 Feb 2007 16:01:11 GMT
Server: Apache/2.2.4 (FreeBSD) mod_ssl/2.2.4 OpenSSL/0.9.7e-p1
PHP/5.2.1 with Suhosin-Patch
X-Powered-By: PHP/5.2.1
X-Pingback: http://www.fuitad.com/xmlrpc.php
Status: 200 OK
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8
43a2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
In both cases, I did not leave the rest of the HTML as it was
irrelevant.
Previous Comments:
------------------------------------------------------------------------
[2007-02-14 15:52:35] fuitad at gmail dot com
[fmg@ib-apache1 ~]$ telnet zestuff.com 80
Trying 209.172.63.175...
Connected to zestuff.com.
Escape character is '^]'.
GET /index.php HTTP/1.1
Host:zestuff.com
Connection: close
HTTP/1.1 200 OK
Date: Wed, 14 Feb 2007 15:58:13 GMT
Server: Apache
X-Powered-By: PHP/5.2.1
Pragma: no-cache
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Last-Modified: Wed, 14 Feb 2007 15:58:21 GMT
Cache-Control: no-store, must-revalidate
Cache-Control: post-check=-1, pre-check=-1
Set-Cookie: sid=80c40a7ecf800d1a6b8044f8e2d6351174689194; expires=Thu,
14-Feb-2008 15:58:21 GMT; path=/; domain=.zestuff.com
Set-Cookie: sip=565277585; expires=Thu, 14-Feb-2008 15:58:21 GMT;
path=/; domain=.zestuff.com
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html
2029
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<HTML>
------------------------------------------------------------------------
[2007-02-14 15:46:20] mike@php.net
I can't reproduce:
mike@honeybadger:~$ telnet 0 80
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.
GET /abc.php HTTP/1.1
Host:honeybadger
Connection: close
HTTP/1.1 200 OK
Date: Wed, 14 Feb 2007 15:43:49 GMT
Server: Apache/2.0.55 (Ubuntu) DAV/2 MDT/1.5 PHP/5.2.2-dev
X-Powered-By: PHP/5.2.2-dev
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html
1
a
1
b
1
c
1
0
Connection closed by foreign host.
mike@honeybadger:~$ telnet 0 80
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.
GET /abc.php HTTP/1.0
Host: honeybadger
HTTP/1.1 200 OK
Date: Wed, 14 Feb 2007 15:44:25 GMT
Server: Apache/2.0.55 (Ubuntu) DAV/2 MDT/1.5 PHP/5.2.2-dev
X-Powered-By: PHP/5.2.2-dev
Connection: close
Content-Type: text/html
abc
Connection closed by foreign host.
mike@honeybadger:~$ cat /www/html/abc.php
<?php
ob_implicit_flush(1);
while( @ob_end_clean() );
echo "a";
echo "b";
echo "c";
echo "\n";
------------------------------------------------------------------------
[2007-02-14 15:34:07] fuitad at gmail dot com
My apologies. Apache was 2.2.4 or 2.2.2 (depending on the server) and
Lighttpd was 1.4.11.
------------------------------------------------------------------------
[2007-02-14 15:27:58] mike@php.net
So, I don't know your previous apache version?
------------------------------------------------------------------------
[2007-02-14 15:12:44] fuitad at gmail dot com
[fmg@ib-apache1 ~]$ httpd -v
Server version: Apache/2.2.4 (FreeBSD)
Server built: Feb 12 2007 22:00:05
[fmg@IB-LIGHTTPD1 ~]$ lighttpd -v
lighttpd-1.4.13 (ssl) - a light and fast webserver
Build-Date: Feb 12 2007 21:46:29
------------------------------------------------------------------------
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/40472--
Edit this bug report at http://bugs.php.net/?id=40472&edit=1