microsoft/msquic

Support Async DNS Resolution

Offen

#1.304 geöffnet am 01.03.2021

 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C (686 Forks)github user discovery
blockedfeature requesthelp wanted

Repository-Metriken

Stars
 (4.764 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 6T) (40 gemergte PRs in 30 T)

Beschreibung

Describe the feature you'd like supported

Currently we call synchronous DNS resolution APIs (GetAddrInfo) on our QUIC worker threads. Most of the time this is quick and there isn't any noticed perf issue; but it is entirely possible for these APIs to take a long time.

Proposed solution

We should use async version where possible (GetAddrInfoEx). This will likely require changes at the PAL. I'm not sure what (if any) built-in APIs are available for Posix.

Contributor Guide