PHP 4.0 Bug #6392: socket_set_timeout doesn't work
| From: | root at mobigym dot se | Date: | Mon, 28 Aug 2000 07:47:51 +0000 |
| Subject: | PHP 4.0 Bug #6392: socket_set_timeout doesn't work | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-30921@lists.php.net to get a copy of this message | ||
From: root@mobigym.se
Operating system: Linux 2.2
PHP version: 4.0.1pl2
PHP Bug Type: Misbehaving function
Bug description: socket_set_timeout doesn't work
Sometimes fgets hang in an HTTP connection because of my laggy Internet connection.
I've tried to use socket_set_timeout as a solution to the problem, but it doesn't work.
socket_set_timeout ( $fp, 120, 0 );
But fgets still hangs sometimes and my script won't continue.
What am I doing wrong? Or is this a bug?