SAT>IP: break TEARDOWN poll loop also on ERROR or HUP
This commit is contained in:
parent
9eea4812da
commit
24171eb3d6
1 changed files with 4 additions and 0 deletions
|
@ -1270,6 +1270,8 @@ fast_exit:
|
|||
continue;
|
||||
break;
|
||||
}
|
||||
if(ev[0].events & (TVHPOLL_ERR | TVHPOLL_HUP))
|
||||
break;
|
||||
}
|
||||
}
|
||||
/* for sure - the second sequence */
|
||||
|
@ -1289,6 +1291,8 @@ fast_exit:
|
|||
continue;
|
||||
break;
|
||||
}
|
||||
if(ev[0].events & (TVHPOLL_ERR | TVHPOLL_HUP))
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue