mirror of
https://github.com/shadowsocks/shadowsocks-rust.git
synced 2026-11-06 08:14:07 +00:00
* Socks5 library, main tcp relay implementation migrated with async/await * UDP relay local migrated to async/await * UDP relay server migrated to async/await * Migrated UDP DNS to async/await, follows tokio-process * Removed unused uses, add dyn keyword for TraitObjects * [#151] Uses dl.google.com/generate_204 to check connection latency * Make sslocal/ssserver TCP relay work successfully, disabled UDP and DNS relay temporary * Handshake before performing actual read & write * Wraps timeout logic into a Connection<S> struct * Make UDP relay work again * Local uses copy directly * Completely removed unused ssdns * Fixed test * Uses tokio::main macro for main entrance * Fixed a missing use in local.rs * Updated travis openssl to 1.1.0L * Windows signal * Migrated tokio 0.2 release with std::future support fix #173 * fixed windows monitor build * Uses tokio on crates.io * ctrl_c is a Future * Run tests with single tokio runtime * Uses spawn_blocking only with threaded runtime * Killing all detached Tasks if server is exited * Updated version to v1.8.0 * Removed unused pin-project * Uses dns resolver built in tokio * Explicitly uses threaded scheduler by default * Reverted, it is threaded scheduler by default * Updated bytes to v0.5 * Updated many dependencies * Add a tunnel app (#175) It can be used to benchmark. Usage: sstunnel -v -s 127.0.0.1:8488 -m plain -k password -b 127.0.0.1:1090 -f 127.0.0.1:5201 "-f xxx" : the target/forwad address xxx * Removed unused remote-dns config field (ssdns is removed) * Separated TCP local tunneling to its own module * Implements FromStr for Address * Fixed typo * Add tunnel unit test * Updated tokio to v0.2.2, fixed basic scheduler bug * Removed Connection, uses try_timeout instead. Revert back to use 8K buffer * Revert "Removed Connection, uses try_timeout instead. Revert back to use 8K buffer" This reverts commit82f698e520. * Uses Delay instead of Timeout * Delay doesnt return io::Result * Revert "Delay doesnt return io::Result" This reverts commit74dc294d16. * Fixed bug, Connection timeout should be shared between read & write operations