php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15235 file("http://[...]") never times out
Submitted: 2002-01-26 16:44 UTC Modified: 2002-08-14 14:45 UTC
Votes:3
Avg. Score:4.3 ± 0.9
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: joyoflinux at yahoo dot com Assigned:
Status: Closed Package: HTTP related
PHP Version: 4.1.1 OS: RH Linux 7.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: joyoflinux at yahoo dot com
New email:
PHP Version: OS:

 

 [2002-01-26 16:44 UTC] joyoflinux at yahoo dot com
When using the file function on an http document that is down (for example today 1/26 dailynews.yahoo.com was 
down)  I had a page to go and get the news from dailynews.yahoo.com.  When dailynews.yahoo.com was down, the 
page never loaded, it hung.  I know I can use socket_set_timeout or something like that, but this doesn't 
effect the file() function.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-13 19:17 UTC] shiflett@php.net
I'm not familiar with the code behind the file() function myself, but would you mind trying this with a more recent version of PHP?

If the bug was fixed by someone else somewhere along the way, there's no need to try and fix it again.

Thanks.
 [2002-08-14 14:45 UTC] iliaa@php.net
This bug has been fixed in CVS. Snapshots of the CVS tree are packaged
every three hours; this change will be in the next snapshot. You can grab
the snapshot at http://snaps.php.net/. In case this was a documentation 
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun Dec 08 18:01:24 2019 UTC