#5153 [Asn]: fopen("http://...") has no timeout
| From: | wez@php.net | Date: | Wed, 28 Aug 2002 12:31:12 +0000 |
| Subject: | #5153 [Asn]: fopen("http://...") has no timeout | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-18027@lists.php.net to get a copy of this message | ||
ID: 5153
Updated by: wez@php.net
Reported By: schwenke@jobpilot.de
Status: Assigned
Bug Type: Filesystem function related
Operating System: Linux
PHP Version: 4.0.0 Release
Assigned To: wez
New Comment:
PHP 4.3 already has a default timeout for all sockets,
and will provide a means for a timeout to be specified for
network wrappers.
A configuration option will allow an administrator to tune
the default timeout value.
Previous Comments:
------------------------------------------------------------------------
[2002-08-28 08:14:06] spic@php.net
Reclassified as Filesystem-"Bug"
------------------------------------------------------------------------
[2000-06-20 19:03:23] schwenke@jobpilot.de
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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=5153&edit=1