Bug #16302 Updated: socket_set_timeout closes connection
| From: | mfischer@php.net | Date: | Tue, 04 Jun 2002 08:36:25 +0000 |
| Subject: | Bug #16302 Updated: socket_set_timeout closes connection | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-9431@lists.php.net to get a copy of this message | ||
ID: 16302
Updated by: mfischer@php.net
Reported By: landmann@verex.at
-Status: Open
+Status: Bogus
Bug Type: Network related
Operating System: Windows 2000
PHP Version: 4.0.6
New Comment:
Thank you for taking the time to report a problem with PHP.
Unfortunately your version of PHP is too old -- the problem
might already be fixed. Please download a new PHP
version from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
Previous Comments:
------------------------------------------------------------------------
[2002-03-27 01:44:16] landmann@verex.at
$ftp=fsockopen($ip, 21, &$errorno, &$errorstr, $timeout);
$returnstring .= "blocking is on?: " . socket_set_blocking($ftp, 0);
The socket_set_blocking terminates the conection immedeatly - when i
turn the socket_set_blocking On the script works fine (as long there is
data on the connection).
btw. the scripting timeout ($timeout) is beeing completly ignored if
there is no data waiting, the script stops until the maximum execution
time is reached...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16302&edit=1