summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorHugo van Kemenade <hugovk@users.noreply.github.com>2021-09-08 16:58:43 (GMT)
committerGitHub <noreply@github.com>2021-09-08 16:58:43 (GMT)
commit59ea704df7a2fae4559e1e04f7a59d6c40f63657 (patch)
treed465a855c6325d2faeb2486a33d3183058ac6ebf /Misc
parenta5610057615779ca6fc75d9e006d2fae644a94d3 (diff)
downloadcpython-59ea704df7a2fae4559e1e04f7a59d6c40f63657.zip
cpython-59ea704df7a2fae4559e1e04f7a59d6c40f63657.tar.gz
cpython-59ea704df7a2fae4559e1e04f7a59d6c40f63657.tar.bz2
bpo-45129 Remove deprecated reuse_address (GH-28207)
Due to significant security concerns, the reuse_address parameter of asyncio.loop.create_datagram_endpoint, deprecated in Python 3.9, is now removed. This is because of the behavior of the socket option SO_REUSEADDR in UDP. Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2021-09-07-14-27-39.bpo-45129.vXH0gw.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2021-09-07-14-27-39.bpo-45129.vXH0gw.rst b/Misc/NEWS.d/next/Library/2021-09-07-14-27-39.bpo-45129.vXH0gw.rst
new file mode 100644
index 0000000..5ba6721
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2021-09-07-14-27-39.bpo-45129.vXH0gw.rst
@@ -0,0 +1,6 @@
+Due to significant security concerns, the *reuse_address* parameter of
+:meth:`asyncio.loop.create_datagram_endpoint`, disabled in Python 3.9, is
+now entirely removed. This is because of the behavior of the socket option
+``SO_REUSEADDR`` in UDP.
+
+Patch by Hugo van Kemenade.