Yujia Qiao
9d143dab6a
fix: reimplement `retry_notify` with signals ( #123 )
2022-02-06 14:26:21 +00:00
Yujia Qiao
dc5ba42e0a
ci: run tests in debug profile
2022-02-06 22:09:37 +08:00
Yujia Qiao
9eee4fb05c
ci: format
2022-02-06 22:09:13 +08:00
Yujia Qiao
81d85f6d7e
test: fix unstable tests
2022-02-02 19:34:34 +08:00
Yujia Qiao
0278c529dd
fix: respect shutdown signal when retry ( #121 )
...
* fix: respect shutdown signal when retry
* test: add tests for retry_notify
* chore: drop backoff/tokio
2022-02-02 06:27:43 +00:00
Yujia Qiao
dde08bdd8c
fix: change some messages to single line style
2022-02-01 21:49:17 +08:00
Yujia Qiao
ef154cb56b
docs: fix a typo
2022-01-26 21:11:48 +08:00
Yujia Qiao
720778b07c
chore: clean up
2022-01-25 21:15:26 +08:00
Yujia Qiao
95efd457d5
chore: rename docs
2022-01-25 16:08:04 +08:00
Yujia Qiao
5527936d16
chore: add issue template
2022-01-25 16:02:16 +08:00
Yujia Qiao
f5956e780f
ci: fix strip on MacOS
2022-01-22 00:42:28 +08:00
Yujia Qiao
3cab131fc4
chore: bump v0.3.9
2022-01-22 00:18:37 +08:00
Yujia Qiao
47991fb16d
ci: remove `rust-cache`
2022-01-21 23:46:33 +08:00
Yujia Qiao
06db33b86c
ci: use llvm-strip
2022-01-21 23:46:33 +08:00
Yujia Qiao
3780b4cf95
ci: enable manually running ci
2022-01-21 23:30:53 +08:00
Yujia Qiao
694363fd60
ci: fix mips build
...
- link aginst glibc instead of muslc on mips32 (#115 )
- build both muslc and glibc for mips
- disable upx for mips
2022-01-21 23:30:37 +08:00
Yujia Qiao
f772c7cfed
fix: remove `assert_eq` for `read_hello`
2022-01-21 19:06:35 +08:00
Yujia Qiao
cdbf8781e4
fix: throw errors when the service type or protocol version doesn't match ( #112 )
...
* fix: print errors when service types don't match
* fix: validate the protocol version when handshake
2022-01-21 06:35:32 +00:00
Yujia Qiao
a66502d33b
chore: drop the unused dependency `const_format` ( #113 )
2022-01-21 14:17:56 +08:00
Yujia Qiao
2d75295f58
docs: update shields
2022-01-19 14:14:07 +08:00
Yujia Qiao
fc2b3c0d29
chore: bump v0.3.8
2022-01-19 13:54:47 +08:00
Yujia Qiao
3fad4c4350
fix: improve exp backoff for control channels
2022-01-19 13:54:47 +08:00
Yujia Qiao
3331f3e7e8
fix: ignore broken data channels ( #110 )
2022-01-18 22:26:32 +08:00
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