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

Consider setting HTTP.jl's idle_timeout option #35

Open
samoconnor opened this issue Apr 16, 2018 · 3 comments
Open

Consider setting HTTP.jl's idle_timeout option #35

samoconnor opened this issue Apr 16, 2018 · 3 comments
Assignees
Labels
Milestone

Comments

@samoconnor
Copy link
Contributor

idle_timeout stops pooled connections from being reused when they've been sitting idle for too long (in which case the server has probably already dropped the other end of the connection).

It seems that there isn't a one-size-fits-all idle_timeout for AWS services. IAM seems to process requests on a connection that has been idle for up to about 50 seconds, but S3 connections seem to become unusable after about 5 seconds.

@samoconnor
Copy link
Contributor Author

This may solve the problem: JuliaLang/MbedTLS.jl#145

@mattBrzezinski
Copy link
Member

Closing this issue, looks like it was resolved with the fix mentioned in the comment above:

JuliaCloud/AWSS3.jl#28

@iamed2
Copy link
Member

iamed2 commented Jan 30, 2020

Did you see this comment?

Note that the idle_timeout= change to GitHub.jl is still desirable because there is a race-condition when a request is sent on an idle connection at the same moment that the server decides to send close_notify and drop the connection.

@mattBrzezinski mattBrzezinski self-assigned this Jan 30, 2020
@mattBrzezinski mattBrzezinski added this to the AWSCore v2.0 milestone Jan 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants