#19584 [NEW]: ob_implicit_flush may not be working

From: Date: Tue, 24 Sep 2002 21:54:06 +0000
Subject: #19584 [NEW]: ob_implicit_flush may not be working
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-20237@lists.php.net to get a copy of this message
From: mat@genevus.com Operating system: Windows 2000 Advanced Server IIS PHP version: 4.2.3 PHP Bug Type: Sockets related Bug description: ob_implicit_flush may not be working I have been running a looping script using php.exe from the command-line using 4.1.2 to run tasks I pull out of a database. I needed to use socket_set_timeout but my build of 4.1.2 didn't support it. I upgraded to 4.2.2 and my script worked, but socket_set_timeout wasn't supported in this one either. So I upgraded to 4.2.3 and now my script doesn't even output anything. ob_implicit_flush doesn't *seem* to be working. PHP doesn't echo anything, it just seems to be hanging in my loop. Will be easier to explain with a code example: set_time_limit(0); ob_implicit_flush(); for(;;) { echo "hello\n"; sleep(10); } This code works just fine in 4.1.2, same for 4.2.2. But not in 4.2.3. -- Edit bug report at http://bugs.php.net/?id=19584&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19584&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19584&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19584&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19584&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19584&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19584&r=support Expected behavior: http://bugs.php.net/fix.php?id=19584&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19584&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19584&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19584&r=globals

« previous php.bugs (#20237) next »