mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Fix HTTP parser bug for parsing header from multiple pieces of data.
This commit is contained in:
parent
45ed458927
commit
6bad973a7c
3 changed files with 218 additions and 14 deletions
|
@ -49,8 +49,6 @@ private:
|
|||
// Whether allow jsonp parse.
|
||||
bool jsonp;
|
||||
private:
|
||||
// http parse data, reset before parse message.
|
||||
bool expect_field_name;
|
||||
std::string field_name;
|
||||
std::string field_value;
|
||||
SrsHttpParseState state;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue