-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle HTTP/1.1 half-closed connections gracefully. (#641)
* Handle cases like HTTP 413 where the request writes fail, but a response is still sent correctly. * Fix 'test_write_error_but_response_sent' test case * Linting * Fix imports * Fix imports * Fix imports * Filter out 'PytestUnraisableExceptionWarning' * Add tests for when the server closes the connection during request writing and does not send a response * Linting
- Loading branch information
1 parent
80ff02f
commit 04842b0
Showing
4 changed files
with
242 additions
and
8 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