mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 11:15:54 +03:00
[PR #3150] [MERGED] Upgrade rustls-platform-verifier to 0.6 #3596
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#3596
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/3150
Author: @djc
Created: 7/23/2025
Status: ✅ Merged
Merged: 7/24/2025
Merged by: @djc
Base:
main← Head:tls-config📝 Commits (5)
19d11f0resolver: move TLS config out of ResolverOpts04a91f4proto: inline H3ClientStreamBuilder::default() into H3ClientStream::builder()45551cfproto: move Display impl down530de69proto: defer initialization of H3 rustls config04e148eUpgrade rustls-platform-verifier to 0.6📊 Changes
26 files changed (+196 additions, -121 deletions)
View changed files
📝
Cargo.lock(+7 -16)📝
Cargo.toml(+1 -1)📝
crates/proto/src/h2/h2_client_stream.rs(+1 -1)📝
crates/proto/src/h3/h3_client_stream.rs(+22 -25)📝
crates/proto/src/quic/quic_client_stream.rs(+1 -1)📝
crates/proto/src/rustls/mod.rs(+3 -3)📝
crates/recursor/src/recursor.rs(+5 -1)📝
crates/recursor/src/recursor_dns_handle.rs(+16 -3)📝
crates/resolver/README.md(+1 -1)📝
crates/resolver/examples/custom_provider.rs(+5 -2)📝
crates/resolver/examples/flush_cache.rs(+2 -1)📝
crates/resolver/examples/global_resolver.rs(+1 -1)📝
crates/resolver/examples/multithreaded_runtime.rs(+1 -0)📝
crates/resolver/src/config.rs(+0 -11)📝
crates/resolver/src/lib.rs(+3 -3)📝
crates/resolver/src/name_server/connection_provider.rs(+32 -10)📝
crates/resolver/src/name_server/mod.rs(+1 -1)📝
crates/resolver/src/name_server/name_server.rs(+12 -1)📝
crates/resolver/src/name_server/name_server_pool.rs(+15 -4)📝
crates/resolver/src/resolver.rs(+55 -26)...and 6 more files
📄 Description
rustls-platform-verifier 0.5 hid some fallibility in the internal implementation of the
Verifier, which could cause errors to be implicitly ignored. I fixed this in 0.6, meaning that construction of the platform verifier is now explicitly fallible. This is a bit of a pain to deal with because the current setup was very much built around the infallibility of the certificate verifier construction. I think the approach in this PR does a decent job of keeping the public facing API the same, while adding some necessary complexity in rarely used API paths (notably theConnectionProvidertrait).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.