mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 03:05:51 +03:00
[PR #439] [MERGED] tokio related cleanups and preparations #1440
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#1440
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/439
Author: @Keruspe
Created: 4/30/2018
Status: ✅ Merged
Merged: 5/1/2018
Merged by: @bluejekyll
Base:
master← Head:master📝 Commits (2)
31385b5move tokio-core to dependencies where applicableb7e9976server: add a mutex around handler in server_future📊 Changes
11 files changed (+17 additions, -17 deletions)
View changed files
📝
native-tls/Cargo.toml(+3 -1)📝
native-tls/src/lib.rs(+1 -0)📝
openssl/Cargo.toml(+1 -1)📝
openssl/src/lib.rs(+0 -1)📝
proto/Cargo.toml(+1 -1)📝
proto/src/lib.rs(+2 -1)📝
proto/src/tcp/tcp_client_stream.rs(+0 -2)📝
proto/src/tcp/tcp_stream.rs(+0 -2)📝
rustls/Cargo.toml(+1 -1)📝
rustls/src/lib.rs(+1 -0)📝
server/src/server/server_future.rs(+7 -7)📄 Description
Move tokio-core dependency to dev-dependencies for modules that now only use it in tests.
The remaining tokio_core::reactor::Core usage cannot be ported to tokio yet as there is no alternative to run() yet, tokio::run can only run
Future<(), ()>, no return value or error. Some alternative should come in next release.Prepare server_future for tokio-executor porting. With this, code compiles fine when porting to tokio-executor but we have the same execution context initialization we had for dns_future and I don't thing we want to introduce even more threading + tokio::run here.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.