Commit Graph

229 Commits

Author SHA1 Message Date
Yujia Qiao ea6a607706
docs: fix examples 2022-01-18 22:03:31 +08:00
Yujia Qiao 1fe3509536
fix: improve log (#108)
* fix: improve log format

* fix: set data channel errors to warn level

* fix: make span name clearer
2022-01-17 18:05:04 +08:00
Yujia Qiao 8caaf0f776
docs: add shields (#107) 2022-01-17 17:19:23 +08:00
The Gitter Badger b7cafa5977
Add a Gitter chat badge to README.md (#106)
* Add Gitter badge

Co-authored-by: Yujia Qiao <contact@rapiz.me>
2022-01-17 17:07:57 +08:00
Yujia Qiao 81303f7181
fix: deny unknown fields for config (#105) 2022-01-17 16:53:02 +08:00
Yujia Qiao 907109984f
fix: use exp backoff for running control channel (#104) 2022-01-17 12:30:37 +08:00
Yujia Qiao 2c25bbd1cb
chore: clean up 2022-01-14 22:36:12 +08:00
Yujia Qiao d16916b4dd
chore: bump v0.3.7
fix: drop unnecesary features of snowstorm
2022-01-14 22:30:23 +08:00
Yujia Qiao 25a737b10e
ci: don't publish unless release is successful
fix: fix test_udp_connect for `cross`
2022-01-14 22:30:23 +08:00
Yujia Qiao 9ad61b5fdc
fix: set keepalive_intvl to 3s 2022-01-14 20:53:49 +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 91b38cbe5f
fix: log retry intervals 2022-01-13 21:25:01 +08:00
Yujia Qiao 2de9147a0f
fix: improve log 2022-01-13 20:44:59 +08:00
Yujia Qiao 7a35e9e4f2 fix: flush when handshaking 2022-01-13 11:42:50 +08:00
Yujia Qiao 0b2cb15dae
ci: fix zip and mark CI release as draft 2022-01-13 11:39:49 +08:00
Yujia Qiao d4de47716c
ci: publish to crates.io 2022-01-12 21:06:29 +08:00
Yujia Qiao 7a7eef11bc fix: support IPv6 `local_address` for UDP 2022-01-12 20:32:21 +08:00
Yujia Qiao edbb5ce5c9 feat: make `accept` cancel safe and add a timeout 2022-01-12 17:18:28 +08:00
Yujia Qiao e6dd0c8df8 feat: emit colored log only when STDOUT is a tty 2022-01-11 21:10:54 +08:00
mgt 67192fbb9c chore: reduce crate size 2022-01-11 13:46:20 +08:00
Yujia Qiao 1240dd8df9
chore: bump v0.3.4 2022-01-08 19:39:52 +08:00
Yujia Qiao 383151bd4a
fix: improve reliability and logs (#85)
* fix: use a smaller keepalive interval

* fix: improve logs and clean up
2022-01-08 19:38:17 +08:00
Yujia Qiao 3430845749
fix: improve logs 2022-01-08 17:33:01 +08:00
Yujia Qiao ba3c134a87
fix: use retry_notify to log errors 2022-01-08 16:43:34 +08:00
Yujia Qiao 8f03673406
fix: add contexts for noise errors 2022-01-08 16:24:33 +08:00
Yujia Qiao 6827c8589f
docs: update out-of-scope 2022-01-08 13:13:31 +08:00
Yujia Qiao a764257a27
chore: try to fix the build for BSDs 2022-01-08 10:31:59 +08:00
Yujia Qiao 05ecfa4c8b docs: update README.md 2022-01-07 22:51:47 +08:00
Yujia Qiao f1fed7e2cf chore: fix typo in codes 2022-01-07 22:51:47 +08:00
Yujia Qiao 744590370f fix: a log typo 2022-01-07 21:56:43 +08:00
Yujia Qiao ca1432ef6c
docs: update README.md 2022-01-07 20:45:00 +08:00
Yujia Qiao 3c707d95c0
docs: update README.md 2022-01-07 20:43:09 +08:00
Yujia Qiao 12535a4243
chore: bump v0.3.3 2022-01-07 19:38:42 +08:00
Yujia Qiao f989643c10
fix: use u8 instead of u16 for hdr len 2022-01-07 19:19:01 +08:00
Yujia Qiao d0d4f61efd fix: cancel safety 2022-01-07 18:30:34 +08:00
Yujia Qiao a071b0786b fix: log error when failed to listen on udp port 2022-01-07 18:30:34 +08:00
Yujia Qiao f1f4044f7b
docs: fix a typo 2022-01-07 01:30:49 +08:00
Yujia Qiao f1d736dbe8
docs: update README.md 2022-01-06 22:36:15 +08:00
Yujia Qiao b53b3c6dcb
chore: bump v0.3.2 2022-01-06 22:14:02 +08:00
Yujia Qiao 2b9c915485
ci: create docker workflow 2022-01-06 22:07:46 +08:00
Orhun Parmaksız 63b8b78ee8 chore: Add Dockerfile
A Dockerfile has been added (along with .dockerignore) to
build a lightweight image of `rathole`. Image is being built
using `rust-musl-builder` and `scratch` is used for runtime.

Signed-off-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2022-01-06 19:54:08 +08:00
Yujia Qiao 08a2f1a73a ci: add ARM32 targets for release 2022-01-06 19:05:12 +08:00
Yujia Qiao d1fdef5d56 fix: hot-reload for client and server both present 2022-01-06 00:48:29 +08:00
Yujia Qiao c128b7552d
docs: update README-zh.md 2022-01-05 19:23:19 +08:00
Yujia Qiao fc0ee93ef0
docs: use formal tone 2022-01-05 19:20:17 +08:00
Shirshak e3bb124873
docs: add instruction to run as service (#61) 2022-01-05 18:59:07 +08:00
Yujia Qiao 850863e0e7
docs: add out of scope in README.md 2022-01-05 16:32:36 +08:00
Yujia Qiao 0e95db7872
docs: add TOC and fix typos (#62)
* docs: add TOC

* docs: update out-of-scope.md

* docs: add some explanation in benchmark.md

* docs: update README.md

* docs: fix typos
2022-01-05 16:29:43 +08:00
Orhun Parmaksız bb26e2cd36 fix: update build script for using vergen without a git repo
A fallback mechanism has been added to build script for letting
vergen generate cargo instructions even if not run in a git
repository. In such cases, a default vergen configuration is
used along with disabled "git" feature thus not generating any
git-related environment variables.

Signed-off-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2022-01-05 00:46:18 +08:00
hellodword a8d3be103c docs: typo 2022-01-04 21:27:17 +08:00