mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for #405, improve the HTTP FLV delivery 1k to 2.3k. 2.0.168
This commit is contained in:
parent
069ee0afc3
commit
fc995473eb
4 changed files with 35 additions and 18 deletions
|
@ -71,6 +71,8 @@ class SrsHttpMessage;
|
|||
|
||||
#ifdef SRS_AUTO_HTTP_PARSER
|
||||
|
||||
#define SRS_HTTP_HEADER_CACHE_SIZE 16
|
||||
|
||||
/**
|
||||
* response writer use st socket
|
||||
*/
|
||||
|
@ -79,6 +81,7 @@ class SrsHttpResponseWriter : public ISrsHttpResponseWriter
|
|||
private:
|
||||
SrsStSocket* skt;
|
||||
SrsHttpHeader* hdr;
|
||||
char header_cache[SRS_HTTP_HEADER_CACHE_SIZE];
|
||||
private:
|
||||
// reply header has been (logically) written
|
||||
bool header_wrote;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue