diff options
author | Igor Sysoev <igor@sysoev.ru> | 2010-11-25 10:15:04 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2010-11-25 10:15:04 +0000 |
commit | 40747ad861d1645febf4c3a43f5f0c3489decbf0 (patch) | |
tree | 29bb394a5d424e27c93295cdbc02c9bd339f675d /src/os/unix/ngx_posix_init.c | |
parent | 601ca7cd6e8ba5fce8e87cfd122591a46b1136ff (diff) | |
download | nginx-40747ad861d1645febf4c3a43f5f0c3489decbf0.tar.gz nginx-40747ad861d1645febf4c3a43f5f0c3489decbf0.zip |
Linux accept4() support
Diffstat (limited to 'src/os/unix/ngx_posix_init.c')
-rw-r--r-- | src/os/unix/ngx_posix_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |