diff .hgtags @ 7479:8be88b22fe81

Removed sorting of getaddrinfo() results. Previously the ngx_inet_resolve_host() function sorted addresses in a way that IPv4 addresses came before IPv6 addresses. This was implemented in eaf95350d75c (1.3.10) along with the introduction of getaddrinfo() which could resolve host names to IPv6 addresses. Since the "listen" directive only used the first address, sorting allowed to preserve "listen" compatibility with the previous behavior and with the behavior of nginx built without IPv6 support. Now "listen" uses all resolved addresses which makes sorting pointless.
author Roman Arutyunyan <arut@nginx.com>
date Wed, 20 Mar 2019 20:31:59 +0300
parents bd1bba6c0184
children 44df73d0fa71
line wrap: on
line diff