diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2019-02-07 13:22:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-07 13:22:45 (GMT) |
commit | f289084c83190cc72db4a70c58f007ec62e75247 (patch) | |
tree | 6fe7fe86d58952d6eb337add411c7da5ea53fc86 /Misc | |
parent | 2848d9d29914948621bce26bf0d9a89f2e19b97b (diff) | |
download | cpython-f289084c83190cc72db4a70c58f007ec62e75247.zip cpython-f289084c83190cc72db4a70c58f007ec62e75247.tar.gz cpython-f289084c83190cc72db4a70c58f007ec62e75247.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2019-02-06-01-40-55.bpo-24209.awtwPD.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-02-06-01-40-55.bpo-24209.awtwPD.rst b/Misc/NEWS.d/next/Library/2019-02-06-01-40-55.bpo-24209.awtwPD.rst new file mode 100644 index 0000000..4d555fd --- /dev/null +++ b/Misc/NEWS.d/next/Library/2019-02-06-01-40-55.bpo-24209.awtwPD.rst @@ -0,0 +1 @@ +In http.server script, rely on getaddrinfo to bind to preferred address based on the bind parameter. Now default bind or binding to a name may bind to IPv6 or dual-stack, depending on the environment.
\ No newline at end of file |