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

Add IdleConnTimeout configurable for http transport #863

Merged
merged 1 commit into from
Apr 5, 2022

Conversation

aal89
Copy link
Contributor

@aal89 aal89 commented Feb 28, 2022

Please see this issue for additional context #862.

I set a default value for IdleConnTimeout of 15s, because the KeepAliveTimeout default is 0s and net.Dialer will make it into a 15s default if it's 0s.

Thank you for reviewing.

@CLAassistant
Copy link

CLAassistant commented Feb 28, 2022

CLA assistant check
All committers have signed the CLA.

@nathanejohnson
Copy link
Member

Thank you for your contribution!

@nathanejohnson nathanejohnson merged commit 4325538 into fabiolb:master Apr 5, 2022
@aal89
Copy link
Contributor Author

aal89 commented Apr 6, 2022

Do we need to update some documentation too? This a quite a behavioural change as Fabio will now have a 15s keepalive for connections.

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

Successfully merging this pull request may close these issues.

3 participants