summaryrefslogtreecommitdiff
path: root/op_crates/fetch/lib.rs
diff options
context:
space:
mode:
authorYusuke Tanaka <yusuktan@maguro.dev>2020-12-15 21:02:26 +0900
committerGitHub <noreply@github.com>2020-12-15 07:02:26 -0500
commit6356345365e766d984f591506fb475d7935685de (patch)
tree580c8fbcc2542ca63fbe20af7fa74e67b05dad1b /op_crates/fetch/lib.rs
parent7a9766dd18cc85053c984cb991dc3debac92530c (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 'op_crates/fetch/lib.rs')
0 files changed, 0 insertions, 0 deletions