-
Notifications
You must be signed in to change notification settings - Fork 243
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
only support IPv6 socket? #459
Comments
This is not v6-only. IPv6 can do both v4 and v6 on one socket via IPv4-mapped IPv6 addresses provided it's enabled. This code is explicitly enabling the IPv4 mapped addresses just in case the default has been set to off on a platform. Basically it's ensuring the IPv6-only option is off. If you look a bit above, you can see it constructing an IPv4 mapped address if needed:
So, all is ok! |
@rthalley I'd like you to reconsider this issue. I'm porting it to OpenBSD and OpenBSD has different stack for IPv4 and IPv6. So, current code is really IPv6 only on OpenBSD and on machine which has only IPv4 it fails as:
A PR which fixes it: #516 |
in aioquic/asyncio/client.py file, line 70
The text was updated successfully, but these errors were encountered: