kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 69922598e7f2dcb4ee86dff3bbc08720a0360e94
parent 5b3cee342889a871f93f3bcd45d4996ba0318c2c
Author: Joris Vink <joris@coders.se>
Date:   Mon, 30 Jul 2018 15:58:47 +0200

Missing EV_CLEAR for schedule read/write on BSD.

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

diff --git a/src/bsd.c b/src/bsd.c @@ -256,13 +256,13 @@ kore_platform_disable_accept(void) void kore_platform_schedule_read(int fd, void *data) { - kore_platform_event_schedule(fd, EVFILT_READ, EV_ADD, data); + kore_platform_event_schedule(fd, EVFILT_READ, EV_ADD | EV_CLEAR, data); } void kore_platform_schedule_write(int fd, void *data) { - kore_platform_event_schedule(fd, EVFILT_WRITE, EV_ADD, data); + kore_platform_event_schedule(fd, EVFILT_WRITE, EV_ADD | EV_CLEAR, data); } void