Mercurial > hg > nginx
diff src/os/unix/ngx_posix_init.c @ 3786:8a8eb335313d
Linux accept4() support
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 25 Nov 2010 10:15:04 +0000 |
parents | 8b852e4e2643 |
children | d620f497c50f |
line wrap: on
line diff
--- a/src/os/unix/ngx_posix_init.c Wed Nov 24 13:41:37 2010 +0000 +++ b/src/os/unix/ngx_posix_init.c Thu Nov 25 10:15:04 2010 +0000 @@ -60,7 +60,7 @@ 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;