diff --git a/src/Symfony/Component/HttpClient/AmpHttpClient.php b/src/Symfony/Component/HttpClient/AmpHttpClient.php index 48df9ca19623c..7734ded0ab0a7 100644 --- a/src/Symfony/Component/HttpClient/AmpHttpClient.php +++ b/src/Symfony/Component/HttpClient/AmpHttpClient.php @@ -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']) { switch ((float) $options['http_version']) {