microsoft/msquic

Support Async DNS Resolution

Aberta

#1.304 aberto em 1 de mar. de 2021

 (4 comentários) (0 reação) (0 responsável)C (686 forks)github user discovery
blockedfeature requesthelp wanted

Métricas do repositório

Stars
 (4.764 estrelas)
Métricas de merge de PR
 (Mesclagem média 6d) (40 fundiu PRs em 30d)

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.

Guia do colaborador