Open ejona86 opened 8 years ago
We need more discussion about implementing Happy Eyeballs, but the sub problem of OkHttp ignores resolved address can be addressed, split it out to #1215.
Happy Eyeballs wasn't previously used on Android; it just looped through the resolved addresses in order. Other changes will get us to that same approximate level of behavior.
We still want Happy Eyeballs, but it doesn't have to be done for 1.0
With the addition of load balancing, the interaction with OkHttp connection handling has gotten a bit strange. OkHttp is currently ignoring the resolved address of the DnsNameResolver. In order to use the IP address returned by DnsNameResolver we would need to implement Happy Eyeballs. We will want to use Happy Eyeballs with Netty as well.