1
0
Fork 0
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:
winlin 2019-12-16 18:21:39 +08:00
parent 45ed458927
commit 6bad973a7c
3 changed files with 218 additions and 14 deletions

View file

@ -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;