Skip to content
This repository has been archived by the owner on Nov 6, 2022. It is now read-only.

Fix typo in http_parser.c comment #509

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion http_parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -1801,7 +1801,7 @@ size_t http_parser_execute (http_parser *parser,
REEXECUTE();
}

/* Cannot us transfer-encoding and a content-length header together
/* Cannot use transfer-encoding and a content-length header together
per the HTTP specification. (RFC 7230 Section 3.3.3) */
if ((parser->extra_flags & (F_TRANSFER_ENCODING >> 8)) &&
(parser->flags & F_CONTENTLENGTH)) {
Expand Down