microsoft/msquic

Support Async DNS Resolution

Open

#1,304 opened on Mar 1, 2021

View on GitHub
 (4 comments) (0 reactions) (0 assignees)C (671 forks)github user discovery
blockedfeature requesthelp wanted

Repository metrics

Stars
 (4,712 stars)
PR merge metrics
 (PR metrics pending)

Description

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