Skip to content

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

twisteroidambassador
Copy link
Contributor

@twisteroidambassador twisteroidambassador commented Dec 19, 2018

Copy link
Contributor

@remilapeyre remilapeyre left a 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?

@twisteroidambassador
Copy link
Contributor Author

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.

Copy link

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale Stale PR or inactive for long period of time. label Apr 13, 2025
@python-cla-bot
Copy link

The following commit authors need to sign the Contributor License Agreement:

CLA signed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting core review stale Stale PR or inactive for long period of time.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants