Mercurial > hg > nginx
comparison src/http/ngx_http_core_module.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 | 613750237b36 |
children | f7fe817c92a2 |
comparison
equal
deleted
inserted
replaced
4770:4e842583c890 | 4771:bdcdbdf35b52 |
---|---|
74 unsigned wildcard:1; | 74 unsigned wildcard:1; |
75 #if (NGX_HTTP_SSL) | 75 #if (NGX_HTTP_SSL) |
76 unsigned ssl:1; | 76 unsigned ssl:1; |
77 #endif | 77 #endif |
78 #if (NGX_HAVE_INET6 && defined IPV6_V6ONLY) | 78 #if (NGX_HAVE_INET6 && defined IPV6_V6ONLY) |
79 unsigned ipv6only:2; | 79 unsigned ipv6only:1; |
80 #endif | 80 #endif |
81 unsigned so_keepalive:2; | 81 unsigned so_keepalive:2; |
82 | 82 |
83 int backlog; | 83 int backlog; |
84 int rcvbuf; | 84 int rcvbuf; |