diff --git a/http_parser.c b/http_parser.c index ac1b9d6..8872a1d 100644 --- a/http_parser.c +++ b/http_parser.c @@ -1548,4 +1548,5 @@ http_parser_init (http_parser *parser, enum http_parser_type t) parser->nread = 0; parser->upgrade = 0; parser->flags = 0; + parser->method = 0; }