From 40747ad861d1645febf4c3a43f5f0c3489decbf0 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 25 Nov 2010 10:15:04 +0000 Subject: Linux accept4() support --- src/os/unix/ngx_posix_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/os/unix/ngx_posix_init.c') diff --git a/src/os/unix/ngx_posix_init.c b/src/os/unix/ngx_posix_init.c index f21614499..2357ab31f 100644 --- a/src/os/unix/ngx_posix_init.c +++ b/src/os/unix/ngx_posix_init.c @@ -60,7 +60,7 @@ ngx_os_init(ngx_log_t *log) ngx_max_sockets = (ngx_int_t) rlmt.rlim_cur; -#if (NGX_HAVE_INHERITED_NONBLOCK) +#if (NGX_HAVE_INHERITED_NONBLOCK || NGX_HAVE_ACCEPT4) ngx_inherited_nonblocking = 1; #else ngx_inherited_nonblocking = 0; -- cgit