mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 03:05:51 +03:00
[PR #3016] [MERGED] Require explicit message metadata #3492
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#3492
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/3016
Author: @djc
Created: 5/26/2025
Status: ✅ Merged
Merged: 5/28/2025
Merged by: @djc
Base:
main← Head:message-types📝 Commits (10+)
953a5deproto: keep Header definition close to inherent impl3c75d45proto: wrap tests in tests moduleaa76902proto: discard Message::query() methodb65027cproto: remove Default impls for Header and Message0f59131proto: rename Message::new() to query()644fe22server: preserve Header for ResponseInfof6d96c8server: use structured logging for errors9894f82server: maintain request ID in ResponseInfoc4cd1cdproto: require input for Header::new()c4c0636proto: discard Message::set_message_type() method📊 Changes
48 files changed (+450 additions, -533 deletions)
View changed files
📝
bin/tests/integration/authority_battery/basic.rs(+4 -4)📝
bin/tests/integration/authority_battery/dnssec.rs(+3 -4)📝
bin/tests/integration/authority_battery/dynamic_update.rs(+2 -2)📝
crates/client/src/client/client.rs(+3 -7)📝
crates/client/src/client/memoize_client_handle.rs(+6 -13)📝
crates/proto/benches/lib.rs(+5 -14)📝
crates/proto/src/dnssec/dnssec_dns_handle/mod.rs(+1 -1)📝
crates/proto/src/dnssec/rdata/tsig.rs(+2 -2)📝
crates/proto/src/dnssec/signer.rs(+1 -1)📝
crates/proto/src/dnssec/tsig.rs(+2 -2)📝
crates/proto/src/h2/h2_client_stream.rs(+6 -6)📝
crates/proto/src/h2/h2_server.rs(+1 -1)📝
crates/proto/src/h3/h3_client_stream.rs(+7 -7)📝
crates/proto/src/op/header.rs(+153 -155)📝
crates/proto/src/op/message.rs(+52 -55)📝
crates/proto/src/op/update_message.rs(+9 -25)📝
crates/proto/src/quic/tests.rs(+2 -1)📝
crates/proto/src/serialize/binary/encoder.rs(+10 -4)📝
crates/proto/src/tests/udp.rs(+2 -2)📝
crates/proto/src/udp/udp_client_stream.rs(+0 -10)...and 28 more files
📄 Description
As suggested in #3010. More to come, but this seems like a decent start.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.