]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/default.php
Configure a default timeout for HTTP connections at 60s
[quix0rs-gnu-social.git] / lib / default.php
index 90bca32c4f4aeaba7e50041a8e3134d15196a412..b1079a907ce90ed52c2601bebd6624ea2ce15596 100644 (file)
@@ -393,6 +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,
               'proxy_host' => null,
               'proxy_port' => null,
               'proxy_user' => null,