ID:               40472
 Updated by:       [EMAIL PROTECTED]
 Reported By:      fuitad at gmail dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Output Control
 Operating System: FreeBSD
 PHP Version:      5.2.1
 New Comment:

I can't reproduce:

[EMAIL PROTECTED]:~$ 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.
[EMAIL PROTECTED]:~$ 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.
[EMAIL PROTECTED]:~$ cat /www/html/abc.php
<?php
ob_implicit_flush(1);
while( @ob_end_clean() );
echo "a";
echo "b";
echo "c";
echo "\n";



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

[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] [EMAIL PROTECTED]

So, I don't know your previous apache version?

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

[2007-02-14 15:12:44] fuitad at gmail dot com

[EMAIL PROTECTED] ~]$ httpd -v
Server version: Apache/2.2.4 (FreeBSD)
Server built:   Feb 12 2007 22:00:05

[EMAIL PROTECTED] ~]$ lighttpd -v
lighttpd-1.4.13 (ssl) - a light and fast webserver
Build-Date: Feb 12 2007 21:46:29

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

[2007-02-14 15:04:22] [EMAIL PROTECTED]

Seems that your Apache serves HTTP/1.1 chunked encoded responses
despite receiving HTTP/1.0 requests.

Did you upgrade your Apache installation too?

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

[2007-02-14 13:56:59] fuitad at gmail dot com

Ok, this is a nice explanation but our proxy servers (either ours or
the Rex Swain HTTP Viewer) did not have that problem before PHP 5.2.1
and we also don't have this problem when we send out HTTP/1.1 requests
to other servers. I'm pretty positive that this bug is not on the
browser's end.

I beg you to look again and see if it could be something else.

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

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

Reply via email to