Skip to content

HTTP Keep-Alive header should be respected with connection pooling #1155

Description

@omus

The HTTP Keep-Alive header includes a timeout parameter which is:

An integer that is the time in seconds that the host will allow an idle connection to remain open before it is closed. A connection is idle if no data is sent or received by a host. A host may keep an idle connection open for longer than timeout seconds, but the host should attempt to retain a connection for at least timeout seconds.

HTTP.jl's idle_timeout connection parameter should probably be updated to respect the timeout parameter specified by the server. This may help with solving problems such as #1141.

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

    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