ID: 40472 User updated by: fuitad at gmail dot com Reported By: fuitad at gmail dot com -Status: Open +Status: Closed Bug Type: Output Control Operating System: FreeBSD PHP Version: 5.2.1 New Comment:
. Previous Comments: ------------------------------------------------------------------------ [2007-02-14 16:27:08] fuitad at gmail dot com Compare these two files http://www.fuitad.com/test.php http://www.fuitad.com/test.html The static one does not have any problem while the php one does the chunk problem. ------------------------------------------------------------------------ [2007-02-14 16:10:49] [EMAIL PROTECTED] This is not a "number bug". It's called chunked transfer encoding. Try one with HTTP/1.0, and you'll see. ------------------------------------------------------------------------ [2007-02-14 16:10:43] fuitad at gmail dot com Here is a way I found to reproduce the bug http://www.fuitad.com/test.phps <? phpinfo(); ?> also worked. It seems that this bug only occurs when the response is over a certain size. Hence why your tests did not work. ------------------------------------------------------------------------ [2007-02-14 15:58:01] fuitad at gmail dot com I just realized something interesting... Those telnet calls I did, none of them comes from a proxy. They are direct, yet the weird number bug appears still. ------------------------------------------------------------------------ [2007-02-14 15:54:41] fuitad at gmail dot com [EMAIL PROTECTED] ~]$ 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. ------------------------------------------------------------------------ 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