Skip to content

Commit 9e0289f

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

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
@@ -170,7 +170,7 @@ public function request(string $method, string $url, array $options = []): Respo
170170
$curlopts[\CURLOPT_DNS_USE_GLOBAL_CACHE] = false;
171171
}
172172

173-
if (\defined('CURLOPT_HEADEROPT')) {
173+
if (\defined('CURLOPT_HEADEROPT') && \defined('CURLHEADER_SEPARATE')) {
174174
$curlopts[\CURLOPT_HEADEROPT] = \CURLHEADER_SEPARATE;
175175
}
176176

0 commit comments

Comments
 (0)