mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 11:15:54 +03:00
[PR #2982] [MERGED] server: clean up request handling, hold on to encoded request #3467
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#3467
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/2982
Author: @djc
Created: 5/9/2025
Status: ✅ Merged
Merged: 5/10/2025
Merged by: @djc
Base:
main← Head:request-handling📝 Commits (10+)
2eeb8f6server: extract closuresb94dda3server: move Request creation up into handle_request()9bf95dfserver: take AccessControl by referenced184fdfserver: use Bytes for request bodies13ef4e7server: store original request bytes in Request226918cserver: avoid duplicate method definitions0c33348server: take Request in Authority::update()851e58cserver: rename and re-order argumentsfe7a279server: take Request in SqliteAuthority::authorize()8657ec3server: avoid re-encoding request message for signature verification📊 Changes
22 files changed (+343 additions, -275 deletions)
View changed files
📝
Cargo.lock(+2 -0)📝
bin/Cargo.toml(+1 -0)📝
bin/tests/integration/authority_battery/basic.rs(+9 -1)📝
bin/tests/integration/authority_battery/dynamic_update.rs(+10 -3)📝
crates/server/src/authority/authority.rs(+3 -3)📝
crates/server/src/authority/authority_object.rs(+4 -6)📝
crates/server/src/server/h2_handler.rs(+9 -2)📝
crates/server/src/server/h3_handler.rs(+1 -1)📝
crates/server/src/server/mod.rs(+112 -104)📝
crates/server/src/server/quic_handler.rs(+2 -2)📝
crates/server/src/server/request_handler.rs(+11 -3)📝
crates/server/src/store/blocklist.rs(+4 -4)📝
crates/server/src/store/file.rs(+6 -6)📝
crates/server/src/store/forwarder.rs(+4 -4)📝
crates/server/src/store/in_memory/mod.rs(+3 -3)📝
crates/server/src/store/recursor.rs(+4 -4)📝
crates/server/src/store/sqlite/mod.rs(+36 -96)📝
tests/integration-tests/Cargo.toml(+1 -0)📝
tests/integration-tests/src/lib.rs(+5 -3)📝
tests/integration-tests/tests/integration/catalog_tests.rs(+61 -10)...and 2 more files
📄 Description
Attempt to follow up on https://github.com/hickory-dns/hickory-dns/pull/2977#discussion_r2078461204. Might be too simplistic?
r? @cpu
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.