Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
omus opened this issue Feb 22, 2024 · 0 comments
Open

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

omus opened this issue Feb 22, 2024 · 0 comments

Comments

@omus
Copy link
Contributor

omus commented Feb 22, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant