mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 11:15:54 +03:00
[PR #520] [MERGED] DNS over HTTPS in Resolver #1495
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#1495
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/520
Author: @bluejekyll
Created: 6/29/2018
Status: ✅ Merged
Merged: 7/9/2018
Merged by: @bluejekyll
Base:
master← Head:refactor-dns-future📝 Commits (10+)
5b25631initial HttpsClientStream impl292f27fredo the interface for the HttpsClientStreamc708bacadd query parameter for query9ad88e2add basic test2fb567finitial working HttpsClientStreamacbbe9aenable automated tests for https6bec17acleanup response handling states0890fd5make DnsStreamHandle on DnsFuture generic948f590convert all streams to SerialMessage9dddabcrefactor send_message to directly return a Future📊 Changes
75 files changed (+3047 additions, -1612 deletions)
View changed files
📝
Cargo.toml(+1 -10)📝
client/src/client/client_connection.rs(+4 -3)📝
client/src/client/client_future.rs(+58 -40)📝
client/src/client/memoize_client_handle.rs(+9 -19)📝
client/src/multicast/mdns_client_connection.rs(+1 -1)📝
client/src/tcp/tcp_client_connection.rs(+5 -7)📝
client/src/udp/udp_client_connection.rs(+5 -7)➕
https/Cargo.toml(+66 -0)➕
https/README.md(+9 -0)➕
https/src/https_client_stream.rs(+661 -0)➕
https/src/lib.rs(+39 -0)📝
integration-tests/src/lib.rs(+36 -12)📝
integration-tests/src/mock_client.rs(+13 -16)📝
integration-tests/src/tls_client_connection.rs(+6 -6)📝
integration-tests/tests/client_future_tests.rs(+15 -4)📝
integration-tests/tests/client_tests.rs(+4 -2)📝
integration-tests/tests/lookup_tests.rs(+68 -73)📝
integration-tests/tests/mdns_tests.rs(+13 -21)📝
integration-tests/tests/name_server_pool_tests.rs(+12 -12)📝
integration-tests/tests/server_future_tests.rs(+38 -24)...and 55 more files
📄 Description
building on the work done in #519 this removes the Vec that held all the Future response and returns a direct handle to the H2 response type.
This also sets us up for a refactor in the future to support DNS streams of messages, for mDNS and things like long-lived queries.
There's still some cleanup to do, and I think a bunch of traits that can be removed now...
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.