1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

HTTP: Fix the http parser fail bug, always reset the parser.

This commit is contained in:
winlin 2020-07-04 21:25:56 +08:00
parent f8823dab8f
commit 5f951ca126
3 changed files with 102 additions and 6 deletions

View file

@ -55,6 +55,7 @@ private:
http_parser hp_header;
std::string url;
SrsHttpHeader* header;
enum http_parser_type type_;
private:
// Point to the start of body.
const char* p_body_start;