diff options
author | Sahand Akbarzadeh <sahandevs@gmail.com> | 2024-11-15 14:14:11 +0330 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-15 11:44:11 +0100 |
commit | 032ae7fb19bd01c1de28515facd5c3b2ce821924 (patch) | |
tree | 36a95c499cbc8cbb516716d52729d96e5b781a13 /runtime/examples | |
parent | c9baf3849fdbe161a9251a712a71e2b91eeabf3e (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 'runtime/examples')
-rw-r--r-- | runtime/examples/extension/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/examples/extension/main.rs b/runtime/examples/extension/main.rs index 9889b28dc..1ff16ec83 100644 --- a/runtime/examples/extension/main.rs +++ b/runtime/examples/extension/main.rs @@ -50,6 +50,7 @@ async fn main() -> Result<(), AnyError> { node_services: Default::default(), npm_process_state_provider: Default::default(), root_cert_store_provider: Default::default(), + fetch_dns_resolver: Default::default(), shared_array_buffer_store: Default::default(), compiled_wasm_module_store: Default::default(), v8_code_cache: Default::default(), |