-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
bpo-35302: Try each (remote addrinfo, local addrinfo) pair when connecting. #11241
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @twisteroidambassador, this is probably the best way forward given the drawbacks of IPV6_V6ONLY
. Can you add a test case for this change?
Done. I feel slightly uneasy about the test case though, since the mock socket module only has one instance of mock socket, but the code creates and uses multiple sockets. |
This PR is stale because it has been open for 30 days with no activity. |
The following commit authors need to sign the Contributor License Agreement: |
https://bugs.python.org/issue35302