diff options
author | Yusuke Tanaka <yusuktan@maguro.dev> | 2020-12-15 21:02:26 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-15 07:02:26 -0500 |
commit | 6356345365e766d984f591506fb475d7935685de (patch) | |
tree | 580c8fbcc2542ca63fbe20af7fa74e67b05dad1b /core/async_cell.rs | |
parent | 7a9766dd18cc85053c984cb991dc3debac92530c (diff) |
fix: make DNS resolution async (#8743)
This commit adds a new function that is an asynchronous version of
`resolve_addr` using `tokio::net::lookup_host`, and accordingly, renames
the synchronous version to `resolve_addr_sync`.
This allows async ops to resolve hosts with non-blocking.
Diffstat (limited to 'core/async_cell.rs')
0 files changed, 0 insertions, 0 deletions