diff options
| author | Valentin Bartenev <vbart@nginx.com> | 2011-12-05 08:06:15 +0000 |
|---|---|---|
| committer | Valentin Bartenev <vbart@nginx.com> | 2011-12-05 08:06:15 +0000 |
| commit | 92edf47ff998f174bab2d99c26f59991def2aa4e (patch) | |
| tree | 6e514194ae2b9d4f43da303fe30d8ce6962e928b /auto/unix | |
| parent | 1ea2eb56ef2e26873b71c951b34f5cb98c0a2c53 (diff) | |
| download | nginx-92edf47ff998f174bab2d99c26f59991def2aa4e.tar.gz nginx-92edf47ff998f174bab2d99c26f59991def2aa4e.tar.bz2 | |
Added the "so_keepalive=" parameter to the "listen" directive.
The "so_keepalive" directive in mail module was deprecated.
Thanks to Vsevolod Stakhov for initial work.
Diffstat (limited to 'auto/unix')
| -rwxr-xr-x | auto/unix | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -328,6 +328,20 @@ ngx_feature_test="setsockopt(0, IPPROTO_TCP, TCP_DEFER_ACCEPT, NULL, 0)" . auto/feature +ngx_feature="TCP_KEEPIDLE, TCP_KEEPINTVL, TCP_KEEPCNT" +ngx_feature_name="NGX_HAVE_KEEPALIVE_TUNABLE" +ngx_feature_run=no +ngx_feature_incs="#include <sys/socket.h> + #include <netinet/in.h> + #include <netinet/tcp.h>" +ngx_feature_path= +ngx_feature_libs= +ngx_feature_test="setsockopt(0, IPPROTO_TCP, TCP_KEEPIDLE, NULL, 0); + setsockopt(0, IPPROTO_TCP, TCP_KEEPINTVL, NULL, 0); + setsockopt(0, IPPROTO_TCP, TCP_KEEPCNT, NULL, 0)" +. auto/feature + + ngx_feature="accept4()" ngx_feature_name="NGX_HAVE_ACCEPT4" ngx_feature_run=no |
