PHP 4.0 Bug #5153: fopen("http://...") has no timeout
| From: | schwenke at jobpilot dot de | Date: | Tue, 20 Jun 2000 17:03:23 +0000 |
| Subject: | PHP 4.0 Bug #5153: fopen("http://...") has no timeout | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-21859@lists.php.net to get a copy of this message | ||
From: schwenke@jobpilot.de
Operating system: Linux
PHP version: 4.0.0 Release
PHP Bug Type: Scripting Engine problem
Bug description: fopen("http://...") has no timeout
If one tries to fetch a remote HTML document via
fopen("http://some.host/foo/bar")
and there is a connectivity problem (say a misconfigured
router), this function will not return in a reasonable
time. There should be a timeout option, as the fsockopen function already has.