-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
bpo-37228: Fix loop.create_datagram_endpoint()'s usage of SO_REUSEADDR #17311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
ambv
merged 13 commits into
python:master
from
aeros:bpo37228-create_datagram_endpoint-reuse_address
Dec 9, 2019
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
d748ca1
bpo-37228: Fix loop.create_datagram_endpoint()'s usage of SO_REUSEADDR
aeros 69faa22
Formatting fix
aeros dea5eb3
📜🤖 Added by blurb_it.
blurb-it[bot] a96fe61
Misc/NEWS formatting fix
aeros 2cebb8d
Change RuntimeError to ValueError
aeros 92cf301
Make description of security concern more explicit
aeros 3292cb1
Minor Misc/NEWS improvement
aeros 3146c7f
Fix alignment of ValueError string
aeros b83052e
Deprecate reuse_address=False
aeros f0e0369
Update tests
aeros f8b44ef
Add "Contributed by" to Misc/NEWS
aeros 55314d8
Remove reuse_address from socket modifiers conditional
aeros dc521c5
Modify versionchanged to 3.8.1
aeros File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
Misc/NEWS.d/next/Security/2019-11-21-21-36-54.bpo-37228.yBZnFG.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Due to significant security concerns, the *reuse_address* parameter of | ||
:meth:`asyncio.loop.create_datagram_endpoint` is no longer supported. This is | ||
because of the behavior of ``SO_REUSEADDR`` in UDP. For more details, see the | ||
documentation for ``loop.create_datagram_endpoint()``. | ||
(Contributed by Kyle Stanley, Antoine Pitrou, and Yury Selivanov in | ||
:issue:`37228`.) |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.