-
Notifications
You must be signed in to change notification settings - Fork 213
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: avoid IncompleteRead on completed partial reads (#1827)
* fix: avoid IncompleteRead on completed partial reads Fix a bug in which the server would return a 416 reply with an empty body declaring a Content-Length of 1. Closes #1761 Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com> * fakestorage: add a test for invalid range --------- Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com> Co-authored-by: francisco souza <108725+fsouza@users.noreply.github.com>
- Loading branch information
Showing
2 changed files
with
29 additions
and
1 deletion.
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