Skip to content

[HttpClient] CurlHttpClient idle timeout #44198

Closed
@kbond

Description

@kbond

Symfony version(s) affected

4.4.34

Description

After upgrading from 4.4.33 to 4.4.34 CurlHttpClient is giving me "Idle timeout reached for..." errors when requesting any url.

How to reproduce

$response = HttpClient::create()->request('GET', 'https://symfony.com');
dd($response->getStatusCode()); // hangs then throws:
In ErrorChunk.php line 64:
                                                               
  [Symfony\Component\HttpClient\Exception\TransportException]  
  Idle timeout reached for "https://symfony.com/".

Possible Solution

Reverting #43961 fixed the issue for me.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions