SAT>IP: set the teardown timeout to 500ms
This commit is contained in:
parent
ea02c4368a
commit
65facb3fc4
1 changed files with 4 additions and 2 deletions
|
@ -1183,8 +1183,10 @@ satip_frontend_input_thread ( void *aux )
|
|||
r = http_client_run(rtsp);
|
||||
if (r != HTTP_CON_RECEIVING && r != HTTP_CON_SENDING)
|
||||
break;
|
||||
nfds = tvhpoll_wait(efd, ev, 1, -1);
|
||||
if (nfds <= 0) {
|
||||
nfds = tvhpoll_wait(efd, ev, 1, 500);
|
||||
if (nfds == 0)
|
||||
break;
|
||||
if (nfds < 0) {
|
||||
if (ERRNO_AGAIN(errno))
|
||||
continue;
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue