Skip to content
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

net: add support for Happy Eyeballs version 2 (RFC 8305) #23841

Open
mikioh opened this issue Feb 15, 2018 · 4 comments
Open

net: add support for Happy Eyeballs version 2 (RFC 8305) #23841

mikioh opened this issue Feb 15, 2018 · 4 comments

Comments

@mikioh
Copy link
Contributor

mikioh commented Feb 15, 2018

Since RFC 6555 published, research papers, for example, Measuring the Effects of Happy Eyeballs, depict improvement space for the RFC. In addition, network or service operators speak up that the race is not only for TCP connection setup but for DNS query handling. RFC 8305 Happy Eyeballs version 2 addresses such issues.

To summarize, version 2 clarifies the existing algorithm, modifies the configurable variable values for performance improvement and adds consideration for various circumstances such as IPv6-IPv4 transition and VPN. Luckily, there's no significant user-visible behavioral change.

I'd like to propose to replace the existing RFC 6555 implementation with RFC 8305 implementation after landing dns/dnsmessage package (#16218).

@mikioh mikioh added this to the Unplanned milestone Feb 15, 2018
@bradfitz
Copy link
Contributor

Summarize what this means for Go, so we don't need to diff RFC 6555 vs 8305.

Just add Happy Eyeballs-ish behavior to DNS lookups?

@mikioh
Copy link
Contributor Author

mikioh commented Feb 15, 2018

Just add Happy Eyeballs-ish behavior to DNS lookups?

Yup, mostly. FWIW, https://tools.ietf.org/html/rfc8305#appendix-A

@bradfitz
Copy link
Contributor

Seems fine. As long as the code can be done without too much complexity.

@rsc
Copy link
Contributor

rsc commented Feb 26, 2018

Accepted but only if the result is simple enough.

@rsc rsc changed the title proposal: net: add support for Happy Eyeballs version 2 (RFC 8305) net: add support for Happy Eyeballs version 2 (RFC 8305) Feb 26, 2018
@rsc rsc modified the milestones: Unplanned, Go1.11 Feb 26, 2018
@mikioh mikioh modified the milestones: Go1.11, Go1.12 Mar 30, 2018
@mikioh mikioh modified the milestones: Go1.12, Unplanned Aug 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants