diff src/os/win32/ngx_win32_config.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 a48031f7a69c
children 7956af6b6a02
line wrap: on
line diff
--- 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()