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

Implemented a connection timeout (fixes #66) #67

Merged
merged 7 commits into from
Jan 26, 2022
Merged

Conversation

w-henderson
Copy link
Owner

Issue #66 detailed how the server is vulnerable to being deadlocked if too many clients hold keep-alive connections indefinitely. This PR implements a configurable timeout to avoid this.

@w-henderson w-henderson linked an issue Jan 26, 2022 that may be closed by this pull request
@w-henderson w-henderson added bug Something isn't working core Issues relating to the `humphrey` crate server Issues relating to the `humphrey-server` crate labels Jan 26, 2022
@w-henderson w-henderson self-assigned this Jan 26, 2022
@w-henderson w-henderson merged commit 03883a4 into master Jan 26, 2022
@w-henderson w-henderson deleted the connection-timeout branch January 26, 2022 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working core Issues relating to the `humphrey` crate server Issues relating to the `humphrey-server` crate
Projects
Status: 🚀 Released
Development

Successfully merging this pull request may close these issues.

Add timeout for keep-alive requests
1 participant