comparison src/mail/ngx_mail.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 f0d596e84634
children d620f497c50f
comparison
equal deleted inserted replaced
4322:acd8d267f557 4323:c4513d4dd024
38 unsigned ssl:1; 38 unsigned ssl:1;
39 #endif 39 #endif
40 #if (NGX_HAVE_INET6 && defined IPV6_V6ONLY) 40 #if (NGX_HAVE_INET6 && defined IPV6_V6ONLY)
41 unsigned ipv6only:2; 41 unsigned ipv6only:2;
42 #endif 42 #endif
43 unsigned so_keepalive:2;
44 #if (NGX_HAVE_KEEPALIVE_TUNABLE)
45 int tcp_keepidle;
46 int tcp_keepintvl;
47 int tcp_keepcnt;
48 #endif
43 } ngx_mail_listen_t; 49 } ngx_mail_listen_t;
44 50
45 51
46 typedef struct { 52 typedef struct {
47 ngx_mail_conf_ctx_t *ctx; 53 ngx_mail_conf_ctx_t *ctx;
92 #if (NGX_MAIL_SSL) 98 #if (NGX_MAIL_SSL)
93 unsigned ssl:1; 99 unsigned ssl:1;
94 #endif 100 #endif
95 #if (NGX_HAVE_INET6 && defined IPV6_V6ONLY) 101 #if (NGX_HAVE_INET6 && defined IPV6_V6ONLY)
96 unsigned ipv6only:2; 102 unsigned ipv6only:2;
103 #endif
104 unsigned so_keepalive:2;
105 #if (NGX_HAVE_KEEPALIVE_TUNABLE)
106 int tcp_keepidle;
107 int tcp_keepintvl;
108 int tcp_keepcnt;
97 #endif 109 #endif
98 } ngx_mail_conf_addr_t; 110 } ngx_mail_conf_addr_t;
99 111
100 112
101 typedef struct { 113 typedef struct {