PHP 4.0 Bug #6392 Updated: socket_set_timeout doesn't work
| From: | Bug Database | Date: | Tue, 03 Oct 2000 03:22:46 +0000 |
| Subject: | PHP 4.0 Bug #6392 Updated: socket_set_timeout doesn't work | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-34037@lists.php.net to get a copy of this message | ||
ID: 6392
Updated by: sniper
Reported By: root@mobigym.se
Status: Closed
Bug Type: *General Issues
Assigned To:
Comments:
No feedback.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-09-02 19:24:21] sniper@php.net
Is php complaining about timeout?
Try adding this:
http://www.php.net/manual/function.set-time-limit.php
--Jani
---------------------------------------------------------------------------
[2000-08-28 03:47:51] root@mobigym.se
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?
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6392