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:
parent
f8823dab8f
commit
5f951ca126
3 changed files with 102 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue