|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5153 fopen("http://...") has no timeout
Submitted: 2000-06-20 19:03 UTC Modified: 2002-08-28 12:37 UTC
Avg. Score:4.0 ± 0.8
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (50.0%)
From: schwenke at jobpilot dot de Assigned: wez (profile)
Status: Closed Package: Filesystem function related
PHP Version: 4.0.0 Release OS: Linux
Private report: No CVE-ID: None
 [2000-06-20 19:03 UTC] schwenke at jobpilot dot de
If one tries to fetch a remote HTML document via


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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-28 08:14 UTC]
Reclassified as Filesystem-"Bug"
 [2002-08-28 08:31 UTC]
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 12:37 UTC]
Please try using this CVS snapshot:
For Windows:

PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC