|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-08-13 21:10 UTC] nlopess@php.net
[2005-08-21 01:00 UTC] php-bugs at lists dot php dot net
[2009-05-02 17:11 UTC] cv dot mail at mail dot ru
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 10:00:01 2025 UTC |
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)