Commit Graph

166 Commits

Author SHA1 Message Date
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 bec7533222 ci: fix missing artifacts 2022-03-08 22:53:22 +08:00
Yujia Qiao 702f6ac10a
ci: fix duplicated checks 2022-03-08 22:33:51 +08:00
Yujia Qiao 5f1479b226
ci: run checks on all branches 2022-03-08 22:24:08 +08:00
Yujia Qiao 4682581038
chore: enable strip in cargo 2022-02-25 12:35:04 +08:00
Yujia Qiao 860e3ce2ed
chore: bump v0.3.10 2022-02-21 14:37:16 +08:00
mgt a492ea4f14
fix(config_watcher): allow backupcopy for vim (#122)
by watching the parent dir of config file, we can receive events regardless of the inode of the config file.
2022-02-21 14:31:21 +08:00
Yujia Qiao 55aedfc29a
fix: use unbounded_channel 2022-02-20 15:25:40 +08:00
Yujia Qiao fcfb0bc701
test: adapt to openssl 3 (#126) 2022-02-08 01:35:19 +00: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 90aa0a4e44
fix: use unbounded channels in `config_watcher` (#127) 2022-02-07 10:12:13 +00:00
Yujia Qiao 4c08779ff6
chore: refactor 2022-02-07 17:59:26 +08:00
Yujia Qiao 2b85161186
fix: set `codegen-units` to 1 (#124) 2022-02-06 14:51:18 +00:00
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