microsoft/msquic

Support Async DNS Resolution

Open

#1304 aperta il 1 mar 2021

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)C (671 fork)github user discovery
blockedfeature requesthelp wanted

Metriche repository

Star
 (4712 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor