1
0
Fork 0
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:
winlin 2015-05-04 19:06:38 +08:00
parent ba6c3132e3
commit cba6675560
7 changed files with 210 additions and 22 deletions

View file

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