Skip to content

disable keep-alive connections in dev server#2399

Merged
davidism merged 1 commit into2.1.xfrom
no-keep-alive
Apr 25, 2022
Merged

disable keep-alive connections in dev server#2399
davidism merged 1 commit into2.1.xfrom
no-keep-alive

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.

1 participant