Commit Graph

17 Commits

Author SHA1 Message Date
Yujia Qiao d2c55cc99c
chore: make clippy happy 2022-03-09 12:34:45 +08:00
Yujia Qiao 2746a0ea88
feat: application layer heartbeat (#136)
* feat: application layer heartbeat

* feat: make heartbeat configurable

* fix: update keepalive params

* docs: update about heartbeat
2022-03-08 23:27:18 +08:00
Yujia Qiao 1ef7747019
feat: support SOCKS5 and HTTP proxy (#135)
* chore: add comments

* feat: support socks5/http proxy

* fix: clippy

* fix: always validate tcp config

* chore: rename directories
2022-03-08 23:25:51 +08:00
Yujia Qiao 3d245c5e5f
chore: refactor and clean up 2022-02-07 21:21:22 +08:00
Yujia Qiao 5f301ed8e3
feat: mask out token in logging (#129) 2022-02-07 12:01:12 +00:00
Yujia Qiao 81303f7181
fix: deny unknown fields for config (#105) 2022-01-17 16:53:02 +08:00
Yujia Qiao 0d9e5ec1aa
feat: expose TCP_NODELAY and TCP_KEEPALIVE (#96)
* feat: expose TCP_NODELAY
* fix: opt-in `nodelay` for each service
* fix: enforce `nodelay` for every control channel
* feat: expose keepalive_secs
* feat: expose keepalive_interval
* docs: update docs
* fix: update dependencies and implement hint for noise
2022-01-14 15:37:09 +08:00
Yujia Qiao d1fdef5d56 fix: hot-reload for client and server both present 2022-01-06 00:48:29 +08:00
Yujia Qiao c8cb60708d test: refactor and add tests for 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 f472814013 feat: add noise protocol support 2021-12-24 22:01:54 +08:00
Yujia Qiao 443f763800 feat: UDP support 2021-12-23 19:01:42 +08:00
Yujia Qiao ed3b3a9831
test: add tests for config parsing and examples 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 8f3bf5c7c7
feat: init 2021-12-19 18:02:51 +08:00