Mercurial > hg > nginx
comparison src/mail/ngx_mail.h @ 4771:bdcdbdf35b52
Core: ipv6only is now on by default.
There is a general consensus that this change results in better
consistency between different operating systems and differently
tuned operating systems.
Note: this changes the width and meaning of the ipv6only field
of the ngx_listening_t structure. 3rd party modules that create
their own listening sockets might need fixing.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Mon, 30 Jul 2012 12:27:06 +0000 |
parents | d620f497c50f |
children | 04e43d03e153 |
comparison
equal
deleted
inserted
replaced
4770:4e842583c890 | 4771:bdcdbdf35b52 |
---|---|
37 unsigned wildcard:1; | 37 unsigned wildcard:1; |
38 #if (NGX_MAIL_SSL) | 38 #if (NGX_MAIL_SSL) |
39 unsigned ssl:1; | 39 unsigned ssl:1; |
40 #endif | 40 #endif |
41 #if (NGX_HAVE_INET6 && defined IPV6_V6ONLY) | 41 #if (NGX_HAVE_INET6 && defined IPV6_V6ONLY) |
42 unsigned ipv6only:2; | 42 unsigned ipv6only:1; |
43 #endif | 43 #endif |
44 unsigned so_keepalive:2; | 44 unsigned so_keepalive:2; |
45 #if (NGX_HAVE_KEEPALIVE_TUNABLE) | 45 #if (NGX_HAVE_KEEPALIVE_TUNABLE) |
46 int tcp_keepidle; | 46 int tcp_keepidle; |
47 int tcp_keepintvl; | 47 int tcp_keepintvl; |
98 unsigned wildcard:1; | 98 unsigned wildcard:1; |
99 #if (NGX_MAIL_SSL) | 99 #if (NGX_MAIL_SSL) |
100 unsigned ssl:1; | 100 unsigned ssl:1; |
101 #endif | 101 #endif |
102 #if (NGX_HAVE_INET6 && defined IPV6_V6ONLY) | 102 #if (NGX_HAVE_INET6 && defined IPV6_V6ONLY) |
103 unsigned ipv6only:2; | 103 unsigned ipv6only:1; |
104 #endif | 104 #endif |
105 unsigned so_keepalive:2; | 105 unsigned so_keepalive:2; |
106 #if (NGX_HAVE_KEEPALIVE_TUNABLE) | 106 #if (NGX_HAVE_KEEPALIVE_TUNABLE) |
107 int tcp_keepidle; | 107 int tcp_keepidle; |
108 int tcp_keepintvl; | 108 int tcp_keepintvl; |