aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_inet.h
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2012-12-17 12:08:53 +0000
committerRuslan Ermilov <ru@nginx.com>2012-12-17 12:08:53 +0000
commitb8a90c69039046ff6196b9e174e21c5377ed07dd (patch)
tree8ce88db505f3f1bc0382e3cfb7baedcb79260ca3 /src/core/ngx_inet.h
parent2f8c1b73b8a6ba05219fa2e3643f1a4f42308043 (diff)
downloadnginx-b8a90c69039046ff6196b9e174e21c5377ed07dd.tar.gz
nginx-b8a90c69039046ff6196b9e174e21c5377ed07dd.zip
Implemented IPv6 support for URLs specified using domain names.
This includes "debug_connection", upstreams, "proxy_pass", etc. (ticket #92) To preserve compatibility, "listen" specified with a domain name selects the first IPv4 address, if available. If not available, the first IPv6 address will be used (ticket #186).
Diffstat (limited to 'src/core/ngx_inet.h')
-rw-r--r--src/core/ngx_inet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_inet.h b/src/core/ngx_inet.h
index e30dcb511..6a5a3687d 100644
--- a/src/core/ngx_inet.h
+++ b/src/core/ngx_inet.h
@@ -87,7 +87,7 @@ typedef struct {
unsigned listen:1;
unsigned uri_part:1;
unsigned no_resolve:1;
- unsigned one_addr:1;
+ unsigned one_addr:1; /* compatibility */
unsigned no_port:1;
unsigned wildcard:1;