mirror of https://git.kore.io/kore.git
don't set nodelay on unix listener sockets
This commit is contained in:
parent
20c4036e5f
commit
19044919b2
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue