Closed
Description
Symfony version(s) affected
4.4.39
Description
We faced a bug after upgrading Http-client from 4.4.35 to >= 4.4.39
How to reproduce
We are using this configuration of our service :
our.client: base_uri: 'https://lorem-ipsum.com' proxy: 'http://proxy.net:8080' headers: Accept: 'application/json'
And we make calls like bellow :
$response = $this->client->request(Request::METHOD_POST, 'token', [ 'body' => [ 'username' => $userName, 'password' => $password, 'grant_type' =>password, 'client_id' => $clientId, 'client_secret' => $client_secret, ], ]); $result = $response->toArray();
We received this exception Failure when receiving data from the peer for ...
Possible Solution
No response
Additional Context
No response