mirror of
https://git.kore.io/kore.git
synced 2024-11-18 16:08:29 +01:00
missing EPOLLRDHUP check since event loop rework
This commit is contained in:
parent
c463ecb3cb
commit
c12f296743
@ -124,7 +124,9 @@ kore_platform_event_wait(u_int64_t timer)
|
||||
if (events[i].events & EPOLLOUT)
|
||||
evt->flags |= KORE_EVENT_WRITE;
|
||||
|
||||
if (events[i].events & EPOLLERR|| events[i].events & EPOLLHUP)
|
||||
if (events[i].events & EPOLLERR ||
|
||||
events[i].events & EPOLLHUP ||
|
||||
events[i].events & EPOLLRDHUP)
|
||||
r = 1;
|
||||
|
||||
evt->handle(events[i].data.ptr, r);
|
||||
|
Loading…
Reference in New Issue
Block a user