Skip to content

Commit

Permalink
Merge branch '5.4' into 6.4
Browse files Browse the repository at this point in the history
* 5.4:
  Removed body size limit
  • Loading branch information
nicolas-grekas committed Nov 14, 2024
2 parents d4e3ba6 + 0d7717b commit 383883a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Symfony/Component/HttpClient/AmpHttpClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ public function request(string $method, string $url, array $options = []): Respo
}

$request = new Request(implode('', $url), $method);
$request->setBodySizeLimit(0);

if ($options['http_version']) {
$request->setProtocolVersions(match ((float) $options['http_version']) {
Expand Down

0 comments on commit 383883a

Please sign in to comment.