comparison 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
comparison
equal deleted inserted replaced
4970:ed2219d58518 4971:eaf95350d75c
180 #ifndef NGX_HAVE_SO_SNDLOWAT 180 #ifndef NGX_HAVE_SO_SNDLOWAT
181 /* setsockopt(SO_SNDLOWAT) returns error WSAENOPROTOOPT */ 181 /* setsockopt(SO_SNDLOWAT) returns error WSAENOPROTOOPT */
182 #define NGX_HAVE_SO_SNDLOWAT 0 182 #define NGX_HAVE_SO_SNDLOWAT 0
183 #endif 183 #endif
184 184
185 #define NGX_HAVE_GETADDRINFO 1
185 186
186 #define ngx_random rand 187 #define ngx_random rand
187 #define ngx_debug_init() 188 #define ngx_debug_init()
188 189
189 190