Update guzzlehttp/guzzle and related libraries

This commit is contained in:
Kijin Sung 2023-04-22 14:49:26 +09:00
parent 901bdab6a9
commit 1625683082
115 changed files with 2322 additions and 6573 deletions

View file

@ -443,7 +443,9 @@ class CurlFactory implements CurlFactoryInterface
$scheme = $easy->request->getUri()->getScheme();
if (isset($options['proxy'][$scheme])) {
$host = $easy->request->getUri()->getHost();
if (!isset($options['proxy']['no']) || !Utils::isHostInNoProxy($host, $options['proxy']['no'])) {
if (isset($options['proxy']['no']) && Utils::isHostInNoProxy($host, $options['proxy']['no'])) {
unset($conf[\CURLOPT_PROXY]);
} else {
$conf[\CURLOPT_PROXY] = $options['proxy'][$scheme];
}
}