change default timeout setting for HTTPClient

This commit is contained in:
Mikael Nordfeldth 2017-07-09 22:49:49 +02:00
parent 08b4b73c67
commit 489099ca91
1 changed files with 1 additions and 1 deletions

View File

@ -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,