kore

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

commit 19044919b2386d28010f0a4118f57bfd7f80c71c
parent 20c4036e5f4695e5d996bb0785faaad87743beff
Author: Joris Vink <joris@coders.se>
Date:   Sun,  7 Oct 2018 21:21:37 +0200

don't set nodelay on unix listener sockets

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

diff --git a/src/kore.c b/src/kore.c @@ -393,7 +393,7 @@ kore_listener_alloc(int family, const char *ccb) return (NULL); } - if (!kore_connection_nonblock(l->fd, 1)) { + if (!kore_connection_nonblock(l->fd, family != AF_UNIX)) { kore_listener_free(l); kore_log(LOG_ERR, "kore_connection_nonblock(): %s", errno_s); return (NULL);