kni acceptor v2 sockfd 设置非阻塞

This commit is contained in:
luwenpeng
2019-08-06 16:56:13 +08:00
parent 29a0121134
commit 7f839abd69

View File

@@ -194,6 +194,8 @@ struct acceptor_kni_v2 * acceptor_kni_v2_create(struct tfe_proxy * proxy, const
goto __errout;
}
evutil_make_socket_nonblocking(__ctx->fd_scm_socket);
ret = bind(__ctx->fd_scm_socket, (struct sockaddr *)&__sockaddr_un, sizeof(__sockaddr_un));
if (unlikely(ret < 0))
{