mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Fix #1508, http-client support read chunked response. 3.0.76
This commit is contained in:
parent
788b200e90
commit
cab15c348c
4 changed files with 43 additions and 13 deletions
|
@ -55,7 +55,11 @@ private:
|
|||
http_parser hp_header;
|
||||
std::string url;
|
||||
SrsHttpHeader* header;
|
||||
const char* pbody;
|
||||
private:
|
||||
// Point to the start of body.
|
||||
const char* p_body_start;
|
||||
// To discover the length of header, point to the last few bytes in header.
|
||||
const char* p_header_tail;
|
||||
public:
|
||||
SrsHttpParser();
|
||||
virtual ~SrsHttpParser();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue