bpo-35569: Expose RFC 3542 IPv6 socket options on macOS#19526
bpo-35569: Expose RFC 3542 IPv6 socket options on macOS#19526ned-deily merged 4 commits intopython:masterfrom
Conversation
42deb8a to
0224de9
Compare
|
FYI, force pushed to kick off stalled checks. |
I tested the path on Catalina and its works well. Thanks! |
|
Thank you, @remilapeyre ! |
|
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 |
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
f6bda5d
Compare
|
I have made the requested changes; please review again. FYI: |
|
Thanks for making the requested changes! @ned-deily: please review the changes made to this pull request. |
|
Ref. my previous comment (and completely irrelevant to this PR): I see that the CI has no problems with |
|
BTW, I guess that would need to go in a separate issue? |
|
Your restructered |
ned-deily
left a comment
There was a problem hiding this comment.
LGTM, thanks! That's a lot cleaner.
|
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