mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 03:05:51 +03:00
[PR #3234] [MERGED] server: simplify time handling #3668
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#3668
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/3234
Author: @djc
Created: 8/26/2025
Status: ✅ Merged
Merged: 8/27/2025
Merged by: @djc
Base:
main← Head:server-time📝 Commits (4)
deadf81server: provide default implementation for Authority::update()ccdd9cdserver: inline UpdateResult type alias5328ae0server: provide default implementation for Authority::zone_transfer()e2f559aserver: hoist timestamp retrieval out of update methods📊 Changes
18 files changed (+248 additions, -237 deletions)
View changed files
📝
bin/tests/integration/authority_battery/basic.rs(+6 -1)📝
bin/tests/integration/authority_battery/dynamic_update.rs(+4 -3)📝
crates/server/src/authority/authority.rs(+13 -7)📝
crates/server/src/authority/catalog.rs(+15 -5)📝
crates/server/src/authority/mod.rs(+0 -3)📝
crates/server/src/server/mod.rs(+4 -2)📝
crates/server/src/server/request_handler.rs(+2 -1)📝
crates/server/src/store/blocklist.rs(+3 -9)📝
crates/server/src/store/file.rs(+5 -11)📝
crates/server/src/store/forwarder.rs(+2 -26)📝
crates/server/src/store/in_memory/mod.rs(+2 -65)📝
crates/server/src/store/recursor.rs(+2 -27)📝
crates/server/src/store/sqlite/mod.rs(+21 -16)📝
tests/integration-tests/src/lib.rs(+1 -1)📝
tests/integration-tests/src/mock_request_handler.rs(+2 -1)📝
tests/integration-tests/tests/integration/catalog_tests.rs(+77 -16)📝
tests/integration-tests/tests/integration/chained_authority_tests.rs(+5 -22)📝
tests/integration-tests/tests/integration/sqlite_authority_tests.rs(+84 -21)📄 Description
From reviewing
and as noted before in https://github.com/hickory-dns/hickory-dns/pull/3158#issuecomment-3205615317, I'm not sure the current usage of
RuntimeProvidermakes sense for the server crate (which has a mandatory dependency on Tokio today).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.