diff --git a/src/lib/crow/http_parser_merged.h b/src/lib/crow/http_parser_merged.h index 141c8c2..fea372a 100644 --- a/src/lib/crow/http_parser_merged.h +++ b/src/lib/crow/http_parser_merged.h @@ -1922,10 +1922,9 @@ static const int8_t unhex[256] = inline void http_parser_init(http_parser* parser) { - if (parser == NULL) return; - void *data = parser->data; /* preserve application data */ + //void *data = parser->data; /* preserve application data */ memset(parser, 0, sizeof(*parser)); - parser->data = data; + parser->data = NULL;//data; parser->state = s_start_req; parser->http_errno = CHPE_OK; }