-
Notifications
You must be signed in to change notification settings - Fork 134
filter DNS query results to only include addresses that our quic endpoint can use #166
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
Conversation
kixelated
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.
thanks!
|
I went ahead and fixed the clippy warning. I also adjusted the "context" of the error to more accurately reflect the actual problem. |
|
Yo, reverting this because it breaks production. I think the moq-pub client binds via ipv6 but connects to a ipv4 address, which should still be valid? |
|
But yeah the IPv4 vs IPv6 stuff is a mess. |
|
I suspect I didn’t account for the IPV6_V6ONLY flag being set to false. The default value for this flag varies by operating system. This would be easier if moq-rs created the quinn::Endpoint internally rather than accepting one from the caller. |
moq-native creates the quinn::Endpoint, because yeah it's a bit advanced to create your own. |
…uic endpoint can use (moq-dev#166)" This breaks my moq-pub client and the bbb stream in production. I think it's using IPv6 to connect to a IPv4 address which is valid. This reverts commit 926d5f6.
Minor bug fix. Without this change it's possible that the connection will attempt to use an IP address which the internal
quinn::Endpointcan't actually connect to.