SIGN IN SIGN UP

bpo-24209: In http.server script, rely on getaddrinfo to bind to preferred address based on the bind parameter. (#11767)

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.
J
Jason R. Coombs committed
f289084c83190cc72db4a70c58f007ec62e75247
Parent: 2848d9d
Committed by GitHub <noreply@github.com> on 2/7/2019, 1:22:45 PM