kore

a fork of the worlds most advanced web framework
Log | Files | Refs | README | LICENSE

commit 03b927dd64b44b4027afda799460288353062f15
parent a927acb7ee9cf05b9c3a945a3d2f4604e325e958
Author: Joris Vink <joris@coders.se>
Date:   Wed,  1 Aug 2018 12:17:16 +0200

missing EPOLLET when we reschedule read/write

Diffstat:
Msrc/linux.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/linux.c b/src/linux.c @@ -224,13 +224,13 @@ kore_platform_event_schedule(int fd, int type, int flags, void *udata) void kore_platform_schedule_read(int fd, void *data) { - kore_platform_event_schedule(fd, EPOLLIN, 0, data); + kore_platform_event_schedule(fd, EPOLLIN | EPOLLET, 0, data); } void kore_platform_schedule_write(int fd, void *data) { - kore_platform_event_schedule(fd, EPOLLOUT, 0, data); + kore_platform_event_schedule(fd, EPOLLOUT | EPOLLET, 0, data); } void