Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to tokio v1.0 #354

Closed
5 tasks done
zonyitoo opened this issue Dec 24, 2020 · 4 comments
Closed
5 tasks done

Upgrade to tokio v1.0 #354

zonyitoo opened this issue Dec 24, 2020 · 4 comments

Comments

@zonyitoo
Copy link
Collaborator

zonyitoo commented Dec 24, 2020

@zonyitoo zonyitoo changed the title Upgrade to tokio v0.10.0 Upgrade to tokio v1.0 Dec 24, 2020
zonyitoo added a commit that referenced this issue Dec 24, 2020
- removed tokio::prelude
- upgrade hyper to v0.14, tokio-rustls to v0.22

still working on migrating trust-dns-* and tokio-native-tls

ref #354
zonyitoo added a commit that referenced this issue Dec 24, 2020
zonyitoo added a commit that referenced this issue Dec 24, 2020
@IceCodeNew
Copy link

剩下的两个应该都在上游解决了~

@zonyitoo
Copy link
Collaborator Author

@zonyitoo zonyitoo mentioned this issue Dec 24, 2020
5 tasks
@mqy
Copy link

mqy commented Dec 26, 2020

1.0.0 was replaced with 1.0.1 which fixed a soundness hole https://github.com/tokio-rs/tokio/releases/tag/tokio-1.0.1

@zonyitoo
Copy link
Collaborator Author

It doesn't matter, we don't need this RwLock

zonyitoo added a commit that referenced this issue Dec 28, 2020
* upgrade to tokio v1.0

- removed tokio::prelude
- upgrade hyper to v0.14, tokio-rustls to v0.22

still working on migrating trust-dns-* and tokio-native-tls

ref #354

* tokio v1.0 removed with_poll

fix #355, ref #354

* removed CTRL-BREAK signal handler

ref #354

* fixes compliation error, add missing return

fixes #355

* allow setting SO_SNDBUF and SO_RCVBUF for sockets

ref #352

* completely removed unix socket based DNS resolving

ref shadowsocks/shadowsocks-android#2622

* fix build issue on Windows

* fixed uds poll_write loop, fixed udp outbound loopback check

ref #355

* disable default trust-dns resolver for andorid, macos, ios

This commit also:

- Optimized resolve() logging with elapsed time
- updated tokio-native-tls

* local-dns removed from default features

* fix rustc version with rust-toolchain

* Bump bytes from 0.6.0 to 1.0.0

* add dependabot badge

* indirectly depend on trust_dns_proto via trust_dns_resolver

* auto reconnect if udp sendto failed

* recreate proxied socket if recv() returns failure

* increase score precision to 0.0001

* example of log4rs configuration

* PingBalancer instance shouldn't kill probing task when dropping

- Probing task should be controlled by the internal shared state

* switch to trust-dns main for latest tokio 1.0 support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants