Mercurial > hg > nginx
comparison src/core/ngx_inet.h @ 4971:eaf95350d75c
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).
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Mon, 17 Dec 2012 12:08:53 +0000 |
parents | ab7a21ce8778 |
children | 05ba5bce31e0 |
comparison
equal
deleted
inserted
replaced
4970:ed2219d58518 | 4971:eaf95350d75c |
---|---|
85 int family; | 85 int family; |
86 | 86 |
87 unsigned listen:1; | 87 unsigned listen:1; |
88 unsigned uri_part:1; | 88 unsigned uri_part:1; |
89 unsigned no_resolve:1; | 89 unsigned no_resolve:1; |
90 unsigned one_addr:1; | 90 unsigned one_addr:1; /* compatibility */ |
91 | 91 |
92 unsigned no_port:1; | 92 unsigned no_port:1; |
93 unsigned wildcard:1; | 93 unsigned wildcard:1; |
94 | 94 |
95 socklen_t socklen; | 95 socklen_t socklen; |