8000 Merge branch '5.1' into 5.2 · symfony/http-client@b458d19 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit b458d19

Browse files
committed
Merge branch '5.1' into 5.2
* 5.1: [HttpFoundation] Drop int return type from parseFilesize() Added $translator->addLoader() bug symfony/symfony#39878 [doctrine-bridge] Add username to UserNameNotFoundException [Uid] Clarify the format returned by getTime() fix spelling Add check for constant in Curl client Revert #38614, add assert to avoid regression Fix container injection with TypedReference Fix problem when SYMFONY_PHPUNIT_VERSION is empty string value Update PHP CS Fixer config to v2.18
2 parents e008b2e + 9e0289f commit b458d19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CurlHttpClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public function request(string $method, string $url, array $options = []): Respo
173173
$curlopts[\CURLOPT_DNS_USE_GLOBAL_CACHE] = false;
174174
}
175175

176-
if (\defined('CURLOPT_HEADEROPT')) {
176+
if (\defined('CURLOPT_HEADEROPT') && \defined('CURLHEADER_SEPARATE')) {
177177
$curlopts[\CURLOPT_HEADEROPT] = \CURLHEADER_SEPARATE;
178178 }
179179

0 commit comments

Comments
 (0)
0