#5153 [Asn->Csd]: fopen("http://...") has no timeout
| From: | sniper@php.net | Date: | Wed, 28 Aug 2002 16:37:20 +0000 |
| Subject: | #5153 [Asn->Csd]: fopen("http://...") has no timeout | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-18058@lists.php.net to get a copy of this message | ||
ID: 5153
Updated by: sniper@php.net
Reported By: schwenke@jobpilot.de
-Status: Assigned
+Status: Closed
Bug Type: Filesystem function related
Operating System: Linux
PHP Version: 4.0.0 Release
Assigned To: wez
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2002-08-28 08:31:12] wez@php.net
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.
------------------------------------------------------------------------
[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