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:
parent
573495a19f
commit
d7e5df2578
6 changed files with 48 additions and 31 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue