Hacker News new | ask | show | jobs
by zamadatix 1582 days ago
That site says reddit.com is IPv6 but I'm not able to resolve any AAAA records for it.
1 comments

Reddit ipv6 was enabled before Christmas but got disabled because of issues with the Android app and square’s okhttp lib I think. Namely that it didn’t support happy eyeballs.
I'm sorry but "happy eyeballs"?
Yeah, the name is straight from marketing (implying happy people seeing a fast website). It simply means that clients detect which is the better connection (whether IPv4 or IPv6) rather than naive IPv6-first or IPv4-first. RFC Standards about this: https://datatracker.ietf.org/doc/html/rfc6555 and https://datatracker.ietf.org/doc/html/rfc8305

Unfortunately OkHttp is naively priotising IPv6 regardless if the IPv6 connection is good or not.

The latest release now has a Happy Eyeballs implementation.