don't set nodelay on unix listener sockets

This commit is contained in:
Joris Vink 2018-10-07 21:21:37 +02:00
parent 20c4036e5f
commit 19044919b2
1 changed files with 1 additions and 1 deletions

View File

@ -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);