comparison src/core/ngx_connection.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 93713d4b99c3
comparison
equal deleted inserted replaced
4770:4e842583c890 4771:bdcdbdf35b52
62 unsigned nonblocking:1; 62 unsigned nonblocking:1;
63 unsigned shared:1; /* shared between threads or processes */ 63 unsigned shared:1; /* shared between threads or processes */
64 unsigned addr_ntop:1; 64 unsigned addr_ntop:1;
65 65
66 #if (NGX_HAVE_INET6 && defined IPV6_V6ONLY) 66 #if (NGX_HAVE_INET6 && defined IPV6_V6ONLY)
67 unsigned ipv6only:2; 67 unsigned ipv6only:1;
68 #endif 68 #endif
69 unsigned keepalive:2; 69 unsigned keepalive:2;
70 70
71 #if (NGX_HAVE_DEFERRED_ACCEPT) 71 #if (NGX_HAVE_DEFERRED_ACCEPT)
72 unsigned deferred_accept:1; 72 unsigned deferred_accept:1;