mirror of
https://github.com/python/cpython.git
synced 2026-07-25 11:22:45 -04:00
f289084c83
In http.server script, rely on getaddrinfo to bind to preferred address based on the bind parameter. As a result, now IPv6 is used as the default (including IPv4 on dual-stack systems). Enhanced tests.