From: Mikael Nordfeldth Date: Sun, 9 Jul 2017 20:49:49 +0000 (+0200) Subject: change default timeout setting for HTTPClient X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=489099ca917d74ee2bdc406cb26f9e3269ade625;p=quix0rs-gnu-social.git change default timeout setting for HTTPClient --- diff --git a/lib/default.php b/lib/default.php index b1079a907c..e8209cbe02 100644 --- a/lib/default.php +++ b/lib/default.php @@ -393,7 +393,7 @@ $default = 'ssl_verify_host' => true, // HTTPRequest2 makes sure this is set to CURLOPT_SSL_VERIFYHOST==2 if using curl 'curl' => false, // Use CURL backend for HTTP fetches if available. (If not, PHP's socket streams will be used.) 'connect_timeout' => 5, - 'timeout' => 60, + 'timeout' => ini_get('default_socket_timeout'), // effectively should be this by default already, but this makes it more explicitly configurable for you users .) 'proxy_host' => null, 'proxy_port' => null, 'proxy_user' => null,