1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

cleanup connections when terminate server.

This commit is contained in:
winlin 2015-06-08 14:03:16 +08:00
parent 573495a19f
commit d7e5df2578
6 changed files with 48 additions and 31 deletions

View file

@ -2533,7 +2533,7 @@ int SrsHttpConn::do_cycle()
skt.set_recv_timeout(SRS_HTTP_RECV_TIMEOUT_US);
// process http messages.
for (;;) {
while (!disposed) {
ISrsHttpMessage* req = NULL;
// get a http message