mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine kernel buffer. complete the utest for buffer.
This commit is contained in:
parent
8992e217a9
commit
94cf0c1069
15 changed files with 218 additions and 37 deletions
|
@ -328,7 +328,7 @@ SrsHttpHandler* SrsHttpHandler::res_body(stringstream& ss, string body)
|
|||
|
||||
int SrsHttpHandler::res_flush(SrsSocket* skt, stringstream& ss)
|
||||
{
|
||||
return skt->write(ss.str().c_str(), ss.str().length(), NULL);
|
||||
return skt->write((void*)ss.str().c_str(), ss.str().length(), NULL);
|
||||
}
|
||||
|
||||
int SrsHttpHandler::res_options(SrsSocket* skt)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue