#20432 [Fbk]: flush() outputs garbage
| From: | rasmus@php.net | Date: | Fri, 15 Nov 2002 17:18:56 +0000 |
| Subject: | #20432 [Fbk]: flush() outputs garbage | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-24996@lists.php.net to get a copy of this message | ||
ID: 20432
Updated by: rasmus@php.net
Reported By: phanto@php.net
Status: Feedback
Bug Type: Apache2 related
Operating System: Win32
PHP Version: 4.3.0-pre2
New Comment:
There have been a couple of reports of Apache 2.0.x sending its chunk
headers incorrectly. One was triggered by PHP running as a CGI. I'm
99% sure this is a bug in Apache2.
Previous Comments:
------------------------------------------------------------------------
[2002-11-15 11:03:37] derick@php.net
let's keep it @ feedback then.
------------------------------------------------------------------------
[2002-11-15 10:57:27] phanto@php.net
no comment, derick :-)
i looked through the sapi code which seems to be right, it might be
related to the apache version i'm using (2.0.39). i'll test this asap.
harald
------------------------------------------------------------------------
[2002-11-14 13:41:15] derick@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
------------------------------------------------------------------------
[2002-11-14 13:37:08] phanto@php.net
flush() outputs garbage:
script:
--------------------------
<?php
flush();
?>
--------------------------
output:
--------------------------
HTTP/1.1 200 OK
Date: Thu, 14 Nov 2002 19:30:32 GMT
Server: Apache/2.0.39 (Win32) PHP/4.2.2
Accept-Ranges: bytes
X-Powered-By: PHP/4.2.1
Transfer-Encoding: chunked
Content-Type: text/html; charset=ISO-8859-1
0
--------------------------
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20432&edit=1