Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enable HTTP/1.1 when server has multiple workers
HTTP/1.1 with the base single worker server seems to be unreliable, sometimes simultaneous requests never complete. When the server is multithread or multiprocess, and the handler doesn't directly set a protocol version, enable HTTP/1.1. This enables keep-alive connections and chunked streaming responses.
- Loading branch information
Showing
4 changed files
with
13 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters