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 cee7d34020183b23a87e4e48bd9377ebcf6ea482
parent a047758df12ad985a84c4372b8a595cb638e1dce
Author: Joris Vink <joris@coders.se>
Date:   Fri,  1 Aug 2014 10:32:31 +0200

Properly check for EWOULDBLOCK as well

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

diff --git a/src/net.c b/src/net.c @@ -150,6 +150,7 @@ net_send(struct connection *c) switch (errno) { case EINTR: case EAGAIN: + case EWOULDBLOCK: c->flags &= ~CONN_WRITE_POSSIBLE; return (KORE_RESULT_OK); default: @@ -228,6 +229,7 @@ net_recv(struct connection *c) switch (errno) { case EINTR: case EAGAIN: + case EWOULDBLOCK: c->flags &= ~CONN_READ_POSSIBLE; return (KORE_RESULT_OK); default: