microsoft/msquic

Support Multiple DNS Resolution Connection Attempts

開放

#1,181 建立於 2021年1月22日

 (0 則留言) (0 個反應) (0 位負責人)C (687 個分叉)github user discovery
Area: Corefeature requesthelp wanted

倉庫指標

星標
 (4,767 顆星)
PR 合併指標
 (平均合併 6天) (30 天內合併 40 個 PR)

描述

Describe the feature you'd like supported

Currently, when MsQuic is given just a ServerName to connect to, is resolves that with DNS and takes the first address returned. Instead, MsQuic should support (not sure if it should be default behavior though) the ability to do "happy eyeballs" to try connecting to multiple/all IP addresses that were available.

Proposed solution

Generally, happy eyeballs would require multiple independent connections, but with QUIC, we might be able to cheat a little and use the same connection, but just different "path" objects. We could send the same client initial packet on to each server address, save the state in the path object, and just continue the rest of the connection with whichever path gets a response first.

This likely needs some design and/or prototyping work.

貢獻者指南