Commit Graph
22 Commits
Author SHA1 Message Date
zonyitoo 5a99c8a5c2 Updated dependencies 2019-02-14 10:19:36 +08:00
Linus Färnstrand 3d25b71a20 Remove extern crate statements (#143) 2019-01-26 00:30:06 +08:00
zonyitoo cecc62e4b4 [#85] Supporting shadowsocks-manager reports 2019-01-01 14:56:29 +08:00
zonyitoo db04bdb36d Follows config key no_delay and mode in ss-libev 2019-01-01 02:32:20 +08:00
zonyitoo 5dec63a044 Removed all global state maps, which will allow starting multiple shadowsocks instances in one process 2018-12-30 16:02:52 +08:00
Y. T. Chung c60869aa50 Refactor some boxed futures with impl Trait
- Replaced EncryptedWriterFut and DecryptedReaderFut with impl Trait
- Replaced boxed future in try_timeout and io_timeout with a static type
- Modified rustfmt configuration, fully reformatted
2018-10-01 10:32:04 +08:00
Y. T. Chung 584aad21c7 Open logs in appveyor test, set timeouts for udp test 2018-05-31 00:53:53 +08:00
Y. T. Chung 8f69141b33 Call tokio::run from the outermost, allow test to run tokio runtime in multiple threads 2018-05-18 23:21:30 +08:00
Y. T. CHUNG 8be6da51f3 Migrate tokio and uses new features (#108)
* Add #102 link in README

* Migrating to tokio, #100

* Migrated to tokio-signal v0.2, reformatted

* Should not call tokio::spawn before tokio::run

* Build nightly and stable with different image tag

* Removed unnecessary rustup install

* Renamed version to v1.7.0-alpha

* Removed deprecated calls of Buf

* Updated dependencies

* [#106] Fixed bug, should not hold UDP connections forever

* Lower info log to debug

* Bump version to v1.7.0-alpha.2

* Implement a simple DNS relay server, bump version to v1.7.0-alpha.3

* Better logging

* Fixed build on travis

* Add elapsed time in log

* Should not exit if handler return error

* reformatted

* Add test for DNS

* Updated ssdns param

* Use `trust-dns` and impl Trait
1. Replaced `ToSocketAddrs` with `trust-dns`
2. Uses impl Trait for functions
3. Updated dependencies
4. Fixed bugs

* Bug fixed, logging crate in ssdns
2018-05-16 00:03:50 +08:00
Y. T. Chung 5c89e61a2e Reformatted with new rustfmt 2018-01-20 01:10:16 +08:00
quininer 32d5a2d9e9 update dependencies (#91)
update dependencies and fix #90
2018-01-08 21:44:35 +08:00
Y. T. Chung dd848401ab Completely rewrite UDP associate 2017-08-29 23:50:10 +08:00
Y. T. Chung eb21aba3c7 only tests with stable rust 2017-05-21 19:51:45 +08:00
BennyYip cee4786c01 fix clippy warning 2017-05-21 18:01:06 +08:00
Y. T. Chung 8ae47907bc upgrade tokio_core, move logics to tokio_io 2017-03-20 00:55:34 +08:00
Y. T. Chung 6a1a021331 add aead test 2017-02-18 21:55:13 +08:00
Y. T. Chung 688f693f41 remove dummy relay struct 2016-11-03 02:05:40 +08:00
Y. T. Chung 8a2b6936af correctify implement udp handler, add udp test 2016-11-01 01:10:16 +08:00
Y. T. Chung add4824668 initially implement udp associate 2016-10-31 23:31:27 +08:00
Y. T. Chung 625cb23ca9 save extended key in config 2016-10-30 21:47:11 +08:00
Y. T. Chung 6c328ab370 check response content by String::from_utf8 2016-10-30 16:59:48 +08:00
Y. T. Chung 6b1344ca91 Add Socks5Client wrap, fulfill more documents, add tcp connect test 2016-10-30 16:45:13 +08:00