Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
bpo-35569: Expose RFC 3542 IPv6 socket options on macOS#19526
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
erlend-aasland commented Apr 14, 2020 • edited by bedevere-bot
Loading Uh oh!
There was an error while loading. Please reload this page.
edited by bedevere-bot
Uh oh!
There was an error while loading. Please reload this page.
42deb8a to 0224de9Compareerlend-aasland commented Apr 18, 2020
FYI, force pushed to kick off stalled checks. |
remilapeyre commented Apr 18, 2020
I tested the path on Catalina and its works well. Thanks! |
erlend-aasland commented Apr 18, 2020
Thank you, @remilapeyre ! |
Uh oh!
There was an error while loading. Please reload this page.
bedevere-bot commented Apr 27, 2020
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
Uh oh!
There was an error while loading. Please reload this page.
From macOS SDK netinet6/in6.h: RFC 3542 define the following socket options in a manner incompatible with RFC 2292: IPV6_PKTINFO IPV6_HOPLIMIT IPV6_NEXTHOP IPV6_HOPOPTS IPV6_DSTOPTS IPV6_RTHDR To use the new IPv6 Sockets options introduced by RFC 3542 the constant __APPLE_USE_RFC_3542 must be defined before including <netinet/in.h> [...] Note that eventually RFC 3542 is going to be the default and RFC 2292 will be obsolete.
0224de9 to f6bda5dCompareerlend-aasland commented Apr 27, 2020
I have made the requested changes; please review again. FYI: |
bedevere-bot commented Apr 27, 2020
Thanks for making the requested changes! @ned-deily: please review the changes made to this pull request. |
erlend-aasland commented Apr 27, 2020
Ref. my previous comment (and completely irrelevant to this PR): I see that the CI has no problems with |
erlend-aasland commented Apr 27, 2020
BTW, I guess that would need to go in a separate issue? |
ned-deily commented May 17, 2020
Your restructered |
ned-deily left a comment
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.
LGTM, thanks! That's a lot cleaner.
erlend-aasland commented May 17, 2020 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
Thanks, @ned-deily !
You're right, I mistook the This should do the trick: Or we could just initialize |
From macOS SDK
netinet6/in6.h:https://bugs.python.org/issue35569