Commit Graph
10 Commits
Author SHA1 Message Date
zonyitoo 3431d1a984 update rust toolchain to 2021-05-21, ref shadowsocks/crypto2#22 2021-05-22 12:10:37 +08:00
zonyitoo a3b74ee9d6 update toolchain nightly-2021-05-11 2021-05-16 01:08:53 +08:00
zonyitoo 7342501a73 compiling with stable rustc is back to TODO
- fixes #512
2021-05-08 17:26:24 +08:00
zonyitoo f86fbe4fad upgrade toolchain to 2021-04-24 2021-04-28 16:20:13 +08:00
zonyitoo 703a98b550 Updated rust 2021-03-25 14:26:16 +08:00
zonyitoo 9927cf621b updated rust toolchain to 2021-02-14 2021-02-16 13:29:40 +08:00
zonyitoo 8fd7a00115 use nightly-2020-12-29 2020-12-31 22:32:35 +08:00
zonyitoo 7467d51f99 update toolchain nightly-2020-12-30 2020-12-31 21:40:43 +08:00
zonyitoo 2a92ab8324 ci tests with rust-toolchain file 2020-12-30 15:09:04 +08:00
ty 303f96c61f Upgrade to tokio 1.0 (#358)
* 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
2020-12-28 10:10:19 +08:00