forked from valyala/fasthttp
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hex2intTable only contains 254 entries why it should be 255. Sending for example: Transfer-Encoding: chunked\r\n \r\n \ff causes an out of range panic. Because fasthttp never uses defer-recover and runs in its own goroutines the user of this package can do nothing to defend against this bug.
- Loading branch information
1 parent
38fca66
commit 4f82d07
Showing
2 changed files
with
30 additions
and
5 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