mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
Composer update
This commit is contained in:
parent
2a8fb3aa24
commit
631ea19041
6530 changed files with 205098 additions and 319448 deletions
|
@ -271,15 +271,6 @@ class CurlClient implements ClientInterface, StreamingClientInterface
|
|||
$opts[\CURLOPT_HTTP_VERSION] = \CURL_HTTP_VERSION_2TLS;
|
||||
}
|
||||
|
||||
// If the user didn't explicitly specify a CURLOPT_IPRESOLVE option, we
|
||||
// force IPv4 resolving as Stripe's API servers are only accessible over
|
||||
// IPv4 (see. https://github.com/stripe/stripe-php/issues/1045).
|
||||
// We let users specify a custom option in case they need to say proxy
|
||||
// through an IPv6 proxy.
|
||||
if (!isset($opts[\CURLOPT_IPRESOLVE])) {
|
||||
$opts[\CURLOPT_IPRESOLVE] = \CURL_IPRESOLVE_V4;
|
||||
}
|
||||
|
||||
return [$opts, $absUrl];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue