ID: 22401 Updated by: [EMAIL PROTECTED] Reported By: php at andyuhl dot com -Status: Feedback +Status: No Feedback Bug Type: Output Control Operating System: win32 only PHP Version: 4.3.2-dev, 5.0.0b2-dev New Comment:
No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. Previous Comments: ------------------------------------------------------------------------ [2004-02-11 12:33:51] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2003-07-15 20:13:50] [EMAIL PROTECTED] Another note: ZTS has no effect in linux, works fine even if it's enabled. ------------------------------------------------------------------------ [2003-07-15 20:13:04] [EMAIL PROTECTED] Happens only with win32. (works fine in Linux) ------------------------------------------------------------------------ [2003-04-28 13:22:20] php at andyuhl dot com Well, something isn't working right somewhere because the windows and linux version behave differently. Running the updated code that I just posted, the windows version doesn't return any output at all. It doesn't even return the error message for timing out, which means that it is definitely doing something to that buffer that is built up in the loop. Additionally, the same code on linux behaves as I would expect it to. On linux, it does process the callback function after it times out and it outputs "callback function executed successfully." >From what you've said, now I'm not sure where the bug exists, but with such distinctly different behavior across platforms, I'm fairly certain it exists somewhere. ------------------------------------------------------------------------ [2003-04-26 10:16:51] [EMAIL PROTECTED] Shuffling code around does not change the problem. Still you are timed out and the buffers are ignored (what is correct). What you need is an on_timeout_callback(). ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/22401 -- Edit this bug report at http://bugs.php.net/?id=22401&edit=1