ID: 40517 Updated by: [EMAIL PROTECTED] Reported By: djgrrr+phpbugs at p2p-network dot net -Status: Open +Status: Feedback Bug Type: Streams related Operating System: Linux 2.6 PHP Version: 5.2.1 New Comment:
Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. Previous Comments: ------------------------------------------------------------------------ [2007-02-17 16:05:43] djgrrr+phpbugs at p2p-network dot net Description: ------------ when using stream_socket_client() with the flags (STREAM_CLIENT_CONNECT | STREAM_CLIENT_ASYNC_CONNECT), the async connection does not obey the timeout parameter. Also, when the connection does time out (after around 3 minutes) it does not set the eof flag; although it does return false if you try to read from the connection, it would also make a lot of sense if the eof flag was also set on the resource, so calls to feof() return true. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40517&edit=1