kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit f54e7ace83e7b3a51012bd74285245f0a624b65d
parent cebd1c2c2b73798682b77aec867a6baf968fe3dc
Author: Joris Vink <joris@coders.se>
Date:   Sat, 13 Jul 2013 22:24:00 +0200

do not try to accept if accept has failed, but instead let kore continue

Diffstat:
src/bsd.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bsd.c b/src/bsd.c @@ -88,7 +88,7 @@ kore_platform_event_wait(void) while (worker->accepted < worker->accept_treshold) { kore_connection_accept(&server, &c); if (c == NULL) - continue; + break; worker->accepted++; kore_platform_event_schedule(c->fd,