Please sign in to comment.
Facility to report detailed parsing errors.
- Add http_errno enum w/ values for many parsing error conditions. Stash this in http_parser.state if the 0x80 bit is set. - Report line numbers on error generation if the (new) HTTP_PARSER_DEBUG cpp symbol is set. Increases http_parser struct size by 8 bytes in this case. - Add http_errno_*() methods to help turning errno values into human-readable messages.
- Loading branch information...
Showing with 309 additions and 47 deletions.
Oops, something went wrong.