microsoft/msquic

Support Async DNS Resolution

开放

#1,304 创建于 2021年3月1日

 (4 条评论) (0 个反应) (0 位负责人)C (686 个派生)github user discovery
blockedfeature requesthelp wanted

仓库指标

星标
 (4,764 个星标)
PR 合并指标
 (平均合并 6天) (30 天内合并 40 个 PR)

描述

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.

贡献者指南