mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 11:51:57 +00:00
add srt_epoll_clear_usocks
This commit is contained in:
parent
548c918efb
commit
1a1d0e9267
1 changed files with 1 additions and 3 deletions
|
@ -187,9 +187,6 @@ void srt_server::on_work()
|
|||
}
|
||||
_handle_ptr->check_alive();
|
||||
|
||||
srs_info("srt server epoll get: ret=%d, rfd_num=%d, wfd_num=%d",
|
||||
ret, rfd_num, wfd_num);
|
||||
|
||||
for (int index = 0; index < rfd_num; index++) {
|
||||
SRT_SOCKSTATUS status = srt_getsockstate(read_fds[index]);
|
||||
if (_server_socket == read_fds[index]) {
|
||||
|
@ -208,6 +205,7 @@ void srt_server::on_work()
|
|||
}
|
||||
}
|
||||
}
|
||||
srt_epoll_clear_usocks(_pollid);
|
||||
}
|
||||
|
||||
SrtServerAdapter::SrtServerAdapter()
|
||||
|
|
Loading…
Reference in a new issue