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 e2ce032b02deb54fda3bc51a8c11b944f16e4194
parent a45a57f36a20315825ee4cfec05c20128f38f4f1
Author: Joris Vink <joris@coders.se>
Date:   Fri, 15 May 2015 19:10:23 +0200

Do not treat EPOLLRDHUP as a connection error.

Diffstat:
src/linux.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/linux.c b/src/linux.c @@ -99,8 +99,7 @@ kore_platform_event_wait(u_int64_t timer) type = *(u_int8_t *)events[i].data.ptr; if (events[i].events & EPOLLERR || - events[i].events & EPOLLHUP || - events[i].events & EPOLLRDHUP) { + events[i].events & EPOLLHUP) { switch (type) { case KORE_TYPE_LISTENER: fatal("failed on listener socket");