Skip to content

Timeout reached while waiting for CURLMOPT_MAX_HOST_CONNECTIONS slot #4486

Description

@jeroen

A user has reported the following issue in R:

If you perform several concurrent requests to a host in a multi, curl will automatically queue them once you reach CURLMOPT_MAX_HOST_CONNECTIONS connections.

However handles that have a CURLOPT_TIMEOUT set will yield a timeout error immediately when it's their turn, because the timeout has been reached waiting in the curl queue.

Is this intended? I would have expected the time to start counting once the request has started.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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