diff options
| author | Ruslan Ermilov <ru@nginx.com> | 2012-07-30 12:27:06 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@nginx.com> | 2012-07-30 12:27:06 +0000 |
| commit | deaf22d22083473ec3cdcd2dcfb2ea7c0fd62a3f (patch) | |
| tree | acf6297d9229f9b2c0da4bfb9a918912096aa2ba /src/mail/ngx_mail.h | |
| parent | 9c8f3d86b4c4c1bb04057e57f798e4244cefcbcf (diff) | |
| download | nginx-deaf22d22083473ec3cdcd2dcfb2ea7c0fd62a3f.tar.gz nginx-deaf22d22083473ec3cdcd2dcfb2ea7c0fd62a3f.tar.bz2 | |
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.
Diffstat (limited to 'src/mail/ngx_mail.h')
| -rw-r--r-- | src/mail/ngx_mail.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mail/ngx_mail.h b/src/mail/ngx_mail.h index 1fceb4285..ccdfb8c6f 100644 --- a/src/mail/ngx_mail.h +++ b/src/mail/ngx_mail.h @@ -39,7 +39,7 @@ typedef struct { unsigned ssl:1; #endif #if (NGX_HAVE_INET6 && defined IPV6_V6ONLY) - unsigned ipv6only:2; + unsigned ipv6only:1; #endif unsigned so_keepalive:2; #if (NGX_HAVE_KEEPALIVE_TUNABLE) @@ -100,7 +100,7 @@ typedef struct { unsigned ssl:1; #endif #if (NGX_HAVE_INET6 && defined IPV6_V6ONLY) - unsigned ipv6only:2; + unsigned ipv6only:1; #endif unsigned so_keepalive:2; #if (NGX_HAVE_KEEPALIVE_TUNABLE) |
