mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 03:05:51 +03:00
[PR #913] [CLOSED] Remove the necessity for Background in the Resolver #1789
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#1789
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/913
Author: @bluejekyll
Created: 11/7/2019
Status: ❌ Closed
Base:
master← Head:remove-Background📝 Commits (10+)
02a8670all working, but there is more cleanup to docb96688Client refactored without background816b0c2all default tests building and passing4f2911bdns-over-tls and https compiling, but resolver and client tests hanginge644489fix infinite loope97df8ball-features compiling, https hangingf03421dfix hang in tls/https9d79439all features working againf63dbb8Everything working with Background removed0540b21wip: cleanup clippy warnnings📊 Changes
50 files changed (+1419 additions, -1869 deletions)
View changed files
📝
CHANGELOG.md(+16 -1)📝
Cargo.lock(+133 -109)📝
README.md(+4 -4)📝
bin/benches/comparison_benches.rs(+4 -4)📝
bin/src/named.rs(+4 -6)📝
bin/tests/named_https_tests.rs(+4 -2)📝
bin/tests/named_openssl_tests.rs(+4 -5)📝
bin/tests/named_rustls_tests.rs(+6 -4)📝
bin/tests/named_test_rsa_dnssec.rs(+18 -27)📝
bin/tests/named_tests.rs(+30 -47)📝
bin/tests/server_harness/mod.rs(+19 -14)📝
crates/client/src/client/client.rs(+51 -139)📝
crates/client/src/client/client_future.rs(+45 -103)📝
crates/client/src/client/mod.rs(+1 -18)📝
crates/client/src/client/rc_future.rs(+16 -21)📝
crates/client/src/lib.rs(+7 -16)📝
crates/native-tls/src/tests.rs(+2 -0)📝
crates/proto/src/lib.rs(+1 -1)📝
crates/proto/src/rr/domain/try_parse_ip.rs(+7 -0)📝
crates/proto/src/tcp/tcp_client_stream.rs(+4 -4)...and 30 more files
📄 Description
This change is an attempt to remove the Background types from the Resolver. These create some indirection to handle spawns that occur in some of the IO connection handlers. The plan is to remove all spawns (the reason this object was needed) and make those part of the sending future.
Might need a different strategy, we'll see.
left to do:
Fixes #891
Fixes #886
Fixes #888
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.