Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set
Connection: closed
when running without request queueing (#2216)
* Fix test requires * Refactor how the HTTP connection header is set This helps make it clearer how this branching works, and explicitly documents that this is a difference in which default HTTP 1.0 vs 1.1 assume. * Fix Connection header when not using queue_requests When running with queue_requests=false, make the Connection header reflect that the server will close the connection after the request is completed. (This is required by https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html, specifically: "HTTP/1.1 applications that do not support persistent connections MUST include the "close" connection option in every message.") This could previously cause clients which looked at this header to attempt to reuse connections which the server had closed. * History * Re-roll CI builds * Rebuild again
- Loading branch information
1 parent
b1c27ee
commit 7316dbd
Showing
3 changed files
with
57 additions
and
10 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