ID:               16749
 Updated by:       [EMAIL PROTECTED]
-Summary:          sleep usleep don't work anymore
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
-Bug Type:         Date/time related
+Bug Type:         Output Control
 Operating System: linux 2.4.16
 PHP Version:      4.2.0
 New Comment:

see previous comment


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

[2002-04-23 19:36:30] [EMAIL PROTECTED]

well, after some tesing it seems ulseeps works correctly but
output-buffering is turned on, but it's turned off in the config. (and
i didn't change the config nor the code when i changed from 4.1.2 to
4.2.0) i now made a ob_end_flush() called before my streaming function
and now it works. so it seems like a output buffering misbehavior.

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

[2002-04-23 18:31:35] [EMAIL PROTECTED]

Please add some short example script here which demonstrates
this problem.


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

[2002-04-23 07:27:21] [EMAIL PROTECTED]

i wrote a chat server which is running fine using php4.1.2. it doesn't
run unter 4.2.0 because the usleep function used in the output loop
sleeps infinitely long and doesn't return after the time given. no
crashing detected.



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


-- 
Edit this bug report at http://bugs.php.net/?id=16749&edit=1

Reply via email to