Commit Graph

87 Commits

Author SHA1 Message Date
Yujia Qiao a071b0786b fix: log error when failed to listen on udp port 2022-01-07 18:30:34 +08:00
Yujia Qiao d1fdef5d56 fix: hot-reload for client and server both present 2022-01-06 00:48:29 +08:00
Yujia Qiao 30ac69fdb1 fix: panic on top-level errors 2022-01-03 18:37:26 +08:00
Yujia Qiao d396cdd0b8 fix: vergen without git repo 2022-01-03 17:36:53 +08:00
Yujia Qiao 55404285a1 feat: verbose version message 2022-01-02 14:24:16 +08:00
Yujia Qiao cca74fbc2a
chore: clean up 2022-01-02 12:05:21 +08:00
Yujia Qiao 9f8a324d35
feat: tokio-console 2022-01-02 12:05:21 +08:00
Yujia Qiao 07cd606b63
refactor: improve log 2022-01-02 12:05:21 +08:00
Yujia Qiao 9b3d2eb79a
fix: decrease tcp connection pool size 2022-01-02 12:05:21 +08:00
Yujia Qiao 8d2dc65a1d
fix: improve keepalive 2022-01-02 12:05:21 +08:00
Yujia Qiao c8cb60708d test: refactor and add tests for hot-reload 2021-12-27 15:50:13 +08:00
Yujia Qiao c8e679fa65 feat: add crate feature `notify` 2021-12-27 15:50:13 +08:00
Yujia Qiao 9c0f28caee feat: service-wise hot reload 2021-12-27 15:50:13 +08:00
Yujia Qiao 8097b6916f feat: hot-reload by restarting 2021-12-27 15:50:13 +08:00
Yujia Qiao 48f0514b6c feat: separate `noise` as a crate feature 2021-12-25 19:08:36 +08:00
Yujia Qiao ae20ecf477 fix: set keepalive for noise 2021-12-25 14:21:15 +08:00
Yujia Qiao 46ec6400e4 feat: add `--genkey` 2021-12-24 22:01:54 +08:00
Yujia Qiao f472814013 feat: add noise protocol support 2021-12-24 22:01:54 +08:00
Yujia Qiao 46b0b6b9cc docs: add iperf3 example
docs: update README.md and add comments
2021-12-23 19:01:42 +08:00
Yujia Qiao ca46125cc8 test: add udp tests 2021-12-23 19:01:42 +08:00
Yujia Qiao 443f763800 feat: UDP support 2021-12-23 19:01:42 +08:00
Yujia Qiao 65c75da633
ci: treat clippy lints as errors (#16)
* fix: clippy lint

* ci: treat clippy as errors
2021-12-20 12:50:20 +08:00
Yujia Qiao dc04befa5a feat: add crate features: tls, server, client 2021-12-20 12:46:35 +08:00
Yujia Qiao 8b5571b419 feat: set `info` as the default logging level 2021-12-19 19:45:08 +08:00
Yujia Qiao 0701c7cfe0 refactor: replace `ring` with `sha2` 2021-12-19 18:13:54 +08:00
Yujia Qiao 85d9bf7bdb
refactor: clippy and clean up 2021-12-19 18:02:51 +08:00
Yujia Qiao 1d5ad9c185
fix: add error context 2021-12-19 18:02:51 +08:00
Yujia Qiao b8e824849a
refactor: facilitate tests 2021-12-19 18:02:51 +08:00
Yujia Qiao 776bce35cb
chore: add a TODO 2021-12-19 18:02:51 +08:00
Yujia Qiao ed3b3a9831
test: add tests for config parsing and examples 2021-12-19 18:02:51 +08:00
Yujia Qiao 347b958e84
docs: add comments and update README.md 2021-12-19 18:02:51 +08:00
Yujia Qiao b6c353e7bf
fix: service listener backoff policy
Remove the `max_elapsed_time` limit
2021-12-19 18:02:51 +08:00
Yujia Qiao f92398ea31
refactor: fix clippy, merge imports
Fix lints of clippy
Merge imports
2021-12-19 18:02:51 +08:00
Yujia Qiao b3bdd7eb64
fix: fix tests 2021-12-19 18:02:51 +08:00
Yujia Qiao dcef7f2d0f
feat: TLS support 2021-12-19 18:02:51 +08:00
Yujia Qiao f4b7e600bc
refactor: refactor handle_connection 2021-12-19 18:02:51 +08:00
Yujia Qiao 8f3bf5c7c7
feat: init 2021-12-19 18:02:51 +08:00