Mercurial > hg > nginx
comparison auto/unix @ 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 | bb37a9cc08fb |
children | ec8594b9bf11 |
comparison
equal
deleted
inserted
replaced
4970:ed2219d58518 | 4971:eaf95350d75c |
---|---|
776 ngx_feature_libs= | 776 ngx_feature_libs= |
777 ngx_feature_test="struct stat sb; | 777 ngx_feature_test="struct stat sb; |
778 openat(AT_FDCWD, \".\", O_RDONLY|O_NOFOLLOW); | 778 openat(AT_FDCWD, \".\", O_RDONLY|O_NOFOLLOW); |
779 fstatat(AT_FDCWD, \".\", &sb, AT_SYMLINK_NOFOLLOW);" | 779 fstatat(AT_FDCWD, \".\", &sb, AT_SYMLINK_NOFOLLOW);" |
780 . auto/feature | 780 . auto/feature |
781 | |
782 | |
783 ngx_feature="getaddrinfo()" | |
784 ngx_feature_name="NGX_HAVE_GETADDRINFO" | |
785 ngx_feature_run=no | |
786 ngx_feature_incs="#include <sys/types.h> | |
787 #include <sys/socket.h> | |
788 #include <netdb.h>" | |
789 ngx_feature_path= | |
790 ngx_feature_libs= | |
791 ngx_feature_test='struct addrinfo *res; | |
792 if (getaddrinfo("localhost", NULL, NULL, &res) != 0) return 1; | |
793 freeaddrinfo(res)' | |
794 . auto/feature |