We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3c30754 + 2640207 commit c6bd591Copy full SHA for c6bd591
HttpClient.php
@@ -50,7 +50,7 @@ public static function create(array $defaultOptions = [], int $maxHostConnection
50
}
51
52
if (\extension_loaded('curl')) {
53
- if ('\\' !== \DIRECTORY_SEPARATOR || ini_get('curl.cainfo') || ini_get('openssl.cafile') || ini_get('openssl.capath')) {
+ if ('\\' !== \DIRECTORY_SEPARATOR || isset($defaultOptions['cafile']) || isset($defaultOptions['capath']) || ini_get('curl.cainfo') || ini_get('openssl.cafile') || ini_get('openssl.capath')) {
54
return new CurlHttpClient($defaultOptions, $maxHostConnections, $maxPendingPushes);
55
56
0 commit comments