summaryrefslogtreecommitdiff
path: root/ext/kv
diff options
context:
space:
mode:
authorSahand Akbarzadeh <sahandevs@gmail.com>2024-11-15 14:14:11 +0330
committerGitHub <noreply@github.com>2024-11-15 11:44:11 +0100
commit032ae7fb19bd01c1de28515facd5c3b2ce821924 (patch)
tree36a95c499cbc8cbb516716d52729d96e5b781a13 /ext/kv
parentc9baf3849fdbe161a9251a712a71e2b91eeabf3e (diff)
feat(ext/fetch): allow embedders to use `hickory_dns_resolver` instead of default `GaiResolver` (#26740)
Allows embedders to use `hickory-dns-resolver` instead of threaded "getaddrinfo" resolver in the `fetch()` implementation.
Diffstat (limited to 'ext/kv')
-rw-r--r--ext/kv/remote.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/kv/remote.rs b/ext/kv/remote.rs
index 4930aacfe..63146daf7 100644
--- a/ext/kv/remote.rs
+++ b/ext/kv/remote.rs
@@ -197,6 +197,7 @@ impl<P: RemoteDbHandlerPermissions + 'static> DatabaseHandler
root_cert_store: options.root_cert_store()?,
ca_certs: vec![],
proxy: options.proxy.clone(),
+ dns_resolver: Default::default(),
unsafely_ignore_certificate_errors: options
.unsafely_ignore_certificate_errors
.clone(),