diff --git a/http_parser.c b/http_parser.c index 95ff42f7..0bf1aa13 100644 --- a/http_parser.c +++ b/http_parser.c @@ -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)) {