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

disable keep-alive connections in dev server #2399

Merged
merged 1 commit into from
Apr 25, 2022
Merged

disable keep-alive connections in dev server #2399

merged 1 commit into from
Apr 25, 2022

Conversation

davidism
Copy link
Member

Always send Connection: close, even in HTTP/1.1 mode. This disables keep-alive connections, while still allowing Transfer-Encoding: chunked. HTTP/1.1 is still only enabled in threaded/processes mode, since it exhibits some weird blocking issue in single threaded mode.

fixes #2397

@davidism davidism added this to the 2.1.2 milestone Apr 25, 2022
@davidism davidism merged commit 53ba5f8 into 2.1.x Apr 25, 2022
@davidism davidism deleted the no-keep-alive branch April 25, 2022 14:37
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant