Commit Graph

16 Commits

Author SHA1 Message Date
sunmy2019 4ac53a5a39
feat: optional rustls support (#330)
* initial implementation of rustls support

* Refactor create_self_signed_cert.sh script

* resolve lint errors

* Fix handling of Option in tls.rs

* Update cargo-hack check command and feature dependencies

* fix missing point

* Add conditional check to skip test if client or server is not enabled

* clean up things

* fix for windows CI

* try fixing Windows CI

* Update src/main.rs

* Update src/transport/websocket.rs

* add missing messages

* split the tls mod

Co-authored-by: Ning Sun <n@sunng.info>
2024-02-18 17:17:17 +08:00
Yujia Qiao ea01c42da7
refactor: ConfigChange (#191) 2022-09-15 11:40:15 +00: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 30ac69fdb1 fix: panic on top-level errors 2022-01-03 18:37:26 +08:00
Yujia Qiao c8cb60708d test: refactor and add tests for hot-reload 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 46ec6400e4 feat: add `--genkey` 2021-12-24 22:01:54 +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 dc04befa5a feat: add crate features: tls, server, client 2021-12-20 12:46:35 +08:00
Yujia Qiao b8e824849a
refactor: facilitate tests 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 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