Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

Commit

Permalink
for some reason, htparser_init was being called manually with type_re…
Browse files Browse the repository at this point in the history
…quest??
  • Loading branch information
NathanFrench committed Jul 14, 2017
1 parent 73b54c6 commit a153e5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evhtp.c
Original file line number Diff line number Diff line change
Expand Up @@ -2145,7 +2145,7 @@ htp__connection_writecb_(struct bufferevent * bev, void * arg)
c->htp = orig_htp;
}

htparser_init(c->parser, htp_type_request);
htparser_init(c->parser, c->type);
htparser_set_userdata(c->parser, c);

return;
Expand Down

0 comments on commit a153e5f

Please sign in to comment.