Re: PHP 4.0 Bug #6266: fgets() never timeout used in a HTTPconnection
| From: | Andrei Zmievski | Date: | Mon, 21 Aug 2000 14:04:27 +0000 |
| Subject: | Re: PHP 4.0 Bug #6266: fgets() never timeout used in a HTTPconnection | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-30048@lists.php.net to get a copy of this message | ||
On Sun, 20 Aug 2000, Ron Chmara wrote:
>
>
> joel.jacobson@mobigym.se wrote:
> > The fgets function is the problem. There is no way to speficy a timeout
> > limit for this function.
>
> FWIW: Both fopen and fgets have errata notes requesting/begging/looking
> for ways to work around the lack of a timeout.
Umm, socket_set_timeout() has been there for a while.
-Andrei
Computer, if you don't open that exit hatch this moment I shall zap straight
off to your major data banks and reprogram you with a very large axe.
-- Douglas Adams / The Hitchhiker's Guide to the Galaxy