-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(http): fix several cases in HttpReader
- reading 0 bytes when SizedReader.remaining is more than 0 returns "early eof" error - reading 0 bytes when ChunkedReader.remaining is more than 0 returns "early eof" error - if SizedReader.remaining is less than buf.len(), the buf is sliced to the remaining size
- Loading branch information
1 parent
93e6d29
commit 5c7195a
Showing
1 changed file
with
48 additions
and
3 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