Closed Xaeroxe closed 1 month ago
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.
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.
Minor bug fix. Without this change it's possible that the connection will attempt to use an IP address which the internal
quinn::Endpoint
can't actually connect to.