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

考虑使用tokio runtime #100

Closed
xxfye opened this issue Mar 19, 2018 · 7 comments
Closed

考虑使用tokio runtime #100

xxfye opened this issue Mar 19, 2018 · 7 comments
Assignees

Comments

@xxfye
Copy link

xxfye commented Mar 19, 2018

https://github.com/tokio-rs/tokio

@xxfye xxfye changed the title 使用tokio runtime 考虑使用tokio runtime Mar 20, 2018
@zonyitoo
Copy link
Collaborator

zonyitoo commented Mar 21, 2018

现在不就是用的tokio么?

@zonyitoo
Copy link
Collaborator

噢,这是搞了一套新的Server框架啊……可以研究一下

@zonyitoo zonyitoo self-assigned this Mar 21, 2018
zonyitoo added a commit that referenced this issue Apr 30, 2018
@zonyitoo
Copy link
Collaborator

zonyitoo commented Apr 30, 2018

大部分迁移了。tokio-signal目前依然不支持新的tokio接口,无法完全迁移。

@xxfye
Copy link
Author

xxfye commented May 9, 2018

非常棒👍

@zonyitoo
Copy link
Collaborator

zonyitoo commented May 9, 2018

migrate-tokio 这个branch目前已经是可用状态,欢迎试用

@xxfye
Copy link
Author

xxfye commented May 9, 2018

已经尝试v1.7.0-alpha,希望能代替几天一崩的Py版本,非常感谢。
不过临近高考,问题不一定会及时反馈。

@xxfye xxfye closed this as completed May 9, 2018
zonyitoo added a commit that referenced this issue May 15, 2018
* 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
@zonyitoo
Copy link
Collaborator

已经更新到alpha.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants