Skip to content

Commit

Permalink
[HttpClient] Remove CURLOPT_CONNECTTIMEOUT_MS curl opt
Browse files Browse the repository at this point in the history
  • Loading branch information
lyrixx committed Aug 7, 2019
1 parent f3f6b58 commit e1f9599
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Symfony/Component/HttpClient/CurlHttpClient.php
Expand Up @@ -140,7 +140,6 @@ public function request(string $method, string $url, array $options = []): Respo
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_MAXREDIRS => 0 < $options['max_redirects'] ? $options['max_redirects'] : 0,
CURLOPT_COOKIEFILE => '', // Keep track of cookies during redirects
CURLOPT_CONNECTTIMEOUT_MS => 1000 * $options['timeout'],
CURLOPT_PROXY => $options['proxy'],
CURLOPT_NOPROXY => $options['no_proxy'] ?? $_SERVER['no_proxy'] ?? $_SERVER['NO_PROXY'] ?? '',
CURLOPT_SSL_VERIFYPEER => $options['verify_peer'],
Expand Down

0 comments on commit e1f9599

Please sign in to comment.