ID: 42013
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Assigned
+Status: Bogus
Bug Type: CGI related
Operating System: Linux (FC 6)
PHP Version: 5CVS-2007-07-16 (CVS)
Assigned To: dmitry
New Comment:
PHP itself works fine. The "strace" of PHP process shows that each line
is sent separatly.
write(4, "\1\6\324\224\0r\6\0X-Powered-By: PHP/5.2.4-"..., 128) = 128
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
nanosleep({1, 0}, {1, 0}) = 0
write(4, "\1\6\324\224\0,\4\0 ----------------- 2 ---"..., 56) = 56
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
nanosleep({1, 0}, {1, 0}) = 0
write(4, "\1\6\324\224\0,\4\0 ----------------- 3 ---"..., 56) = 56
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
nanosleep({1, 0}, {1, 0}) = 0
write(4, "\1\6\324\224\0,\4\0 ----------------- 4 ---"..., 56) = 56
The problem may be in Web Browser, Web Server or FastCGI manager.
Previous Comments:
------------------------------------------------------------------------
[2007-07-23 09:17:13] [EMAIL PROTECTED]
Dmitry, can you check this out please? My debugging of it failed
miserably.. :(
------------------------------------------------------------------------
[2007-07-16 22:29:36] [EMAIL PROTECTED]
See also bug #34429
------------------------------------------------------------------------
[2007-07-16 22:29:10] [EMAIL PROTECTED]
Description:
------------
The following script works with plain CGI setup.
It also works fine with Apache 2.2 module.
It does not work with FastCGI setup.
Regression of ug #34429
Reproduce code:
---------------
<html>
<body>
<?php
for ($i = 1; $i < 6; $i++)
{
echo " ----------------- $i ----------------<br />\n";
sleep(1);
flush();
}
?>
</body>
</html>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42013&edit=1