aboutsummaryrefslogtreecommitdiff
path: root/src/os/win32/ngx_win32_config.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/os/win32/ngx_win32_config.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/os/win32/ngx_win32_config.h')
-rw-r--r--src/os/win32/ngx_win32_config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/os/win32/ngx_win32_config.h b/src/os/win32/ngx_win32_config.h
index eb3a95a3d..1ebbf8631 100644
--- a/src/os/win32/ngx_win32_config.h
+++ b/src/os/win32/ngx_win32_config.h
@@ -182,6 +182,7 @@ typedef int sig_atomic_t;
#define NGX_HAVE_SO_SNDLOWAT 0
#endif
+#define NGX_HAVE_GETADDRINFO 1
#define ngx_random rand
#define ngx_debug_init()