mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine the http message, set the connection if required.
This commit is contained in:
parent
ba6c3132e3
commit
cba6675560
7 changed files with 210 additions and 22 deletions
|
@ -528,7 +528,7 @@ int SrsHttpApi::do_cycle()
|
|||
SrsHttpMessage* req = NULL;
|
||||
|
||||
// get a http message
|
||||
if ((ret = parser->parse_message(&skt, &req)) != ERROR_SUCCESS) {
|
||||
if ((ret = parser->parse_message(&skt, this, &req)) != ERROR_SUCCESS) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue