From f13a3a238cd98d8978d12a8b7b0bd46812c1197d Mon Sep 17 00:00:00 2001 From: Craig Davison Date: Tue, 28 Apr 2020 15:51:04 -0600 Subject: [PATCH] Fix typo in http_parser.c comment --- http_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) {