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 http.Server default timeouts #61

Merged
merged 1 commit into from
Apr 15, 2019
Merged

Conversation

tonyalaribe
Copy link
Contributor

@tonyalaribe tonyalaribe commented Apr 15, 2019

Requests with no timeouts lead to memory leaks from unclosed goroutines in the http server connection pool, and expose the http.Server instance for overriding defaults
https://blog.cloudflare.com/exposing-go-on-the-internet/#timeouts

@tonyalaribe tonyalaribe self-assigned this Apr 15, 2019
@tonyalaribe tonyalaribe merged commit 81479b0 into master Apr 15, 2019
@tonyalaribe tonyalaribe deleted the hotfix-add-server-timeouts branch April 15, 2019 13:34
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.

None yet

2 participants