Skip to content

Lack of Default Timeout in Default Request Handler Causes Infinite Waiting for Response #26

@pawel-gagatek

Description

@pawel-gagatek

While using the default Request Handler, we observed that calling the call method in CurlRequestHandler can result in infinite waiting for a server response if the server does not return a reply.

Proposed Solution:

  • Add a default timeout to CurlHandler to prevent infinite waiting.
    
  • Allow configuring additional cURL options by exposing $curlHandle as a protected property or providing a getter to enable modification in extended classes.
    

These changes will allow users to better configure cURL settings and prevent other network issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions