mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 11:15:54 +03:00
[PR #3033] [MERGED] resolver: simplify ConnectionProvider interface #3512
Labels
No labels
blocked
breaking-change
bug
bug:critical
bug:tests
cleanup
compliance
compliance
compliance
crate:all
crate:client
crate:native-tls
crate:proto
crate:recursor
crate:resolver
crate:resolver
crate:rustls
crate:server
crate:util
dependencies
docs
duplicate
easy
easy
enhance
enhance
enhance
feature:dns-over-https
feature:dns-over-quic
feature:dns-over-tls
feature:dnsssec
feature:global_lb
feature:mdns
feature:tsig
features:edns
has workaround
ops
perf
platform:WASM
platform:android
platform:fuchsia
platform:linux
platform:macos
platform:windows
pull-request
question
test
tools
tools
trust
unclear
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hickory-dns#3512
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hickory-dns/hickory-dns/pull/3033
Author: @djc
Created: 6/6/2025
Status: ✅ Merged
Merged: 6/6/2025
Merged by: @djc
Base:
main← Head:simplify-provider📝 Commits (9)
1899cfbresolver: discard trivial GenericConnection and ConnectionResponse wrappers7a587b4resolver: move Connecting enum into proto629bc52proto: streamline QUIC/H3 stream builder APIddca4ccresolver: inline small tls module1047b35resolver: inline small h2 module0a919bcresolver: inline small quic moduleb2ed9b5resolver: inline small h3 moduled006662resolver: make all RuntimeProviders implement ConnectionProvider00d5b20recursor: abstract over ConnectionProvider instead of RuntimeProvider📊 Changes
31 files changed (+468 additions, -695 deletions)
View changed files
📝
bin/src/lib.rs(+2 -2)📝
bin/tests/integration/forwarder.rs(+5 -3)📝
bin/tests/integration/named_quic_tests.rs(+5 -5)📝
crates/proto/src/h3/h3_client_stream.rs(+29 -28)📝
crates/proto/src/quic/quic_client_stream.rs(+2 -2)📝
crates/proto/src/quic/tests.rs(+1 -3)📝
crates/proto/src/xfer/dns_exchange.rs(+60 -2)📝
crates/proto/src/xfer/mod.rs(+1 -1)📝
crates/recursor/src/recursor.rs(+12 -19)📝
crates/recursor/src/recursor_dns_handle.rs(+12 -12)📝
crates/recursor/src/recursor_pool.rs(+7 -9)📝
crates/resolver/README.md(+3 -3)📝
crates/resolver/examples/custom_provider.rs(+4 -7)📝
crates/resolver/examples/flush_cache.rs(+2 -2)📝
crates/resolver/examples/global_resolver.rs(+3 -2)📝
crates/resolver/examples/multithreaded_runtime.rs(+2 -2)➖
crates/resolver/src/h2.rs(+0 -79)➖
crates/resolver/src/h3.rs(+0 -67)📝
crates/resolver/src/lib.rs(+9 -17)📝
crates/resolver/src/name_server/connection_provider.rs(+240 -173)...and 11 more files
📄 Description
Remove a bunch of boilerplate from trivial wrappers.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.