diff --git a/changelog.txt b/changelog.txt index a6b253c9422e059658ac960150c33121ad6bbce6..86036ef9fe743e5897aa56bdefa25426525f0a56 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,6 @@ += 1.0.3 - 2020-04-10 = +* Increased Curl connection timeout + = 1.0.2 - 2019-12-06 = * Fixed issue with headers diff --git a/src/Curl/CurlClient.php b/src/Curl/CurlClient.php index 00c968652d1dabc1a05f551712075dcdd75a1d85..503b3177ae77c6d0e433a9bfb09708a53c5bdae1 100644 --- a/src/Curl/CurlClient.php +++ b/src/Curl/CurlClient.php @@ -76,7 +76,7 @@ class CurlClient implements HttpClient { \CURLOPT_CUSTOMREQUEST => $method, \CURLOPT_HTTPHEADER => $this->compileRequestHeaders( $headers ), \CURLOPT_URL => $url, - \CURLOPT_CONNECTTIMEOUT => 10, + \CURLOPT_CONNECTTIMEOUT => 25, \CURLOPT_TIMEOUT => $timeOut, \CURLOPT_RETURNTRANSFER => \true, // Return response as string