Mercurial > hg > nginx-quic
comparison 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 |
comparison
equal
deleted
inserted
replaced
3785:09bb9c0a06dd | 3786:8a8eb335313d |
---|---|
58 return NGX_ERROR; | 58 return NGX_ERROR; |
59 } | 59 } |
60 | 60 |
61 ngx_max_sockets = (ngx_int_t) rlmt.rlim_cur; | 61 ngx_max_sockets = (ngx_int_t) rlmt.rlim_cur; |
62 | 62 |
63 #if (NGX_HAVE_INHERITED_NONBLOCK) | 63 #if (NGX_HAVE_INHERITED_NONBLOCK || NGX_HAVE_ACCEPT4) |
64 ngx_inherited_nonblocking = 1; | 64 ngx_inherited_nonblocking = 1; |
65 #else | 65 #else |
66 ngx_inherited_nonblocking = 0; | 66 ngx_inherited_nonblocking = 0; |
67 #endif | 67 #endif |
68 | 68 |