Bug #16749 Updated: sleep usleep don't work anymore

From: Date: Tue, 23 Apr 2002 23:36:31 +0000
Subject: Bug #16749 Updated: sleep usleep don't work anymore
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-5745@lists.php.net to get a copy of this message
ID: 16749 Updated by: corinl@gmx.de Reported By: corinl@gmx.de -Status: Feedback +Status: Open Bug Type: Date/time related Operating System: linux 2.4.16 PHP Version: 4.2.0 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2002-04-23 18:31:35] sniper@php.net Please add some short example script here which demonstrates this problem. ------------------------------------------------------------------------ [2002-04-23 07:27:21] corinl@gmx.de 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

« previous php.bugs (#5745) next »