diff --git a/http_parser.c b/http_parser.c index e94075d8..3f9bfdcc 100644 --- a/http_parser.c +++ b/http_parser.c @@ -1545,6 +1545,7 @@ size_t http_parser_execute (http_parser *parser, return len; error: + parser->state = s_dead; return (p - data); }