#31614 [Com]: file_get_contents/fopen don't respect default_socket_timeout
| From: | cv dot mail at mail dot ru | Date: | Sat, 02 May 2009 17:11:29 +0000 |
| Subject: | #31614 [Com]: file_get_contents/fopen don't respect default_socket_timeout | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-136653@lists.php.net to get a copy of this message | ||
ID: 31614
Comment by: cv dot mail at mail dot ru
Reported By: wkonkel at gmail dot com
Status: No Feedback
Bug Type: Network related
Operating System: n/a
PHP Version: 4.3.10
New Comment:
Still doesn't work in 4.4.9
Previous Comments:
------------------------------------------------------------------------
[2005-08-21 01:00:04] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2005-08-13 21:10:24] nlopess@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
It is working here.
------------------------------------------------------------------------
[2005-01-19 17:45:25] wkonkel at gmail dot com
Description:
------------
The functions file_get_contents and fopen, when opening an http or
https location, don't use the default_socket_timeout specified in the
php.ini.
Reproduce code:
---------------
ini_set("default_socket_timeout", 2);
echo file_get_contents("https://1.2.3.4");
Expected result:
----------------
(2 seconds later... nothing)
Actual result:
--------------
(60 seconds later... nothing)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31614&edit=1