Skip to content
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

Fix #88: make epollcat more robust to macOS IPv6 getsockname quirk #91

Merged
merged 1 commit into from
Nov 18, 2022

Conversation

LeeTibbert
Copy link
Collaborator

Fix #88

macOS now consistently returns IPv4 mapped IPv6 addresses when IPv6 is active
and a getLocalAddress() method is called.

So far, no other operating systems have shown the quirk described in Issue #88.

@LeeTibbert LeeTibbert self-assigned this Nov 18, 2022
@LeeTibbert LeeTibbert changed the title Fix #88: make macOS more robust to its IPv6 getsockname quirk Fix #88: make epollcat more robust to macOS IPv6 getsockname quirk Nov 18, 2022
Copy link
Owner

@armanbilge armanbilge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this!! I tried this locally and the fix works perfectly across several runs.

LGTM

@LeeTibbert
Copy link
Collaborator Author

Thank you for the review and manual testing. I will make sure to cash (and spend) the check before
you have a chance to to too many more runs....

We'll be back here again, I fear. Do the best we can with the day.

@armanbilge armanbilge merged commit d825fc0 into armanbilge:main Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"local and remote addresses" test fails on macOS 11
2 participants