Mercurial > hg > nginx
comparison src/http/ngx_http_core_module.h @ 4323:c4513d4dd024
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.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Mon, 05 Dec 2011 08:06:15 +0000 |
parents | 1a94a56a4e5d |
children | d620f497c50f |
comparison
equal
deleted
inserted
replaced
4322:acd8d267f557 | 4323:c4513d4dd024 |
---|---|
75 unsigned ssl:1; | 75 unsigned ssl:1; |
76 #endif | 76 #endif |
77 #if (NGX_HAVE_INET6 && defined IPV6_V6ONLY) | 77 #if (NGX_HAVE_INET6 && defined IPV6_V6ONLY) |
78 unsigned ipv6only:2; | 78 unsigned ipv6only:2; |
79 #endif | 79 #endif |
80 unsigned so_keepalive:2; | |
80 | 81 |
81 int backlog; | 82 int backlog; |
82 int rcvbuf; | 83 int rcvbuf; |
83 int sndbuf; | 84 int sndbuf; |
84 #if (NGX_HAVE_SETFIB) | 85 #if (NGX_HAVE_SETFIB) |
85 int setfib; | 86 int setfib; |
87 #endif | |
88 #if (NGX_HAVE_KEEPALIVE_TUNABLE) | |
89 int tcp_keepidle; | |
90 int tcp_keepintvl; | |
91 int tcp_keepcnt; | |
86 #endif | 92 #endif |
87 | 93 |
88 #if (NGX_HAVE_DEFERRED_ACCEPT && defined SO_ACCEPTFILTER) | 94 #if (NGX_HAVE_DEFERRED_ACCEPT && defined SO_ACCEPTFILTER) |
89 char *accept_filter; | 95 char *accept_filter; |
90 #endif | 96 #endif |