247 Commits

Author SHA1 Message Date
xfy
e232053cbb chore(build): add build.rs 2024-06-27 09:22:41 +08:00
xfy
7dcc187a8a fix(handler): internal server error handler 2024-06-26 10:55:15 +08:00
xfy
a3be2233fc chore(make): add makefile 2024-06-26 09:13:43 +08:00
xfy
0fd601f18e feat(proxy): add uri scheme https support 2024-06-13 16:56:32 +08:00
xfy
68bc0273ef chore(dep): bump version 2024-06-13 16:00:26 +08:00
xfy
d1bbb5c855 feat(proxy): add handle reverse proxy
map response body to response
2024-06-07 09:40:17 +08:00
xfy
32bfa8bce7 implement hyper client request 2024-05-28 17:28:46 +08:00
xfy
fd00cba57a refactor handle files
add handle proxy
2024-05-28 17:05:19 +08:00
xfy
bb0565181a add tracing instrument
remove nightly
2024-05-24 14:24:52 +08:00
xfy
cddd7cfee0 docs i18n
add zh-Hans
2024-05-24 13:54:34 +08:00
xfy
72dd5c6533 adjust docs 2024-05-24 13:42:31 +08:00
xfy
5c6ee0f1b8 init docs 2024-05-24 12:00:26 +08:00
xfy
505d4db1c6 update config example 2024-05-24 11:53:36 +08:00
xfy
f2ec74576a update todo doc 2024-05-21 14:49:23 +08:00
xfy
6dac505504 add loongarch compile support 2024-05-21 14:38:46 +08:00
xfy
1690592373 fix custom error page 2024-05-21 14:12:08 +08:00
xfy
55e8200967 refactor router match 2024-05-21 14:02:34 +08:00
xfy
d76a58d264 optimze router finder 2024-05-21 13:24:29 +08:00
xfy
94c4cc7799 fix config test 2024-05-21 09:16:29 +08:00
xfy
31d89f14a4 add custom error page for host 2024-05-20 13:39:24 +08:00
xfy
12c3694774 fix config init twice
move index to host
2024-05-20 11:56:27 +08:00
xfy
8451432a40 add overrite headers in config 2024-05-17 11:51:57 +08:00
ed10fe7f31 Merge branch 'cross' into 'main'
add docker in ci

See merge request xfy/candy!1
2024-05-16 09:19:11 +00:00
58e9d57f27 add docker in ci 2024-05-16 09:19:11 +00:00
xfy
606d76e5f6 ci add freebsd 2024-05-16 13:30:21 +08:00
xfy
d948fc92e0 update todo content
add more mime type
2024-05-16 11:22:05 +08:00
xfy
a59a703fea add version to response headers
refactor logging
2024-05-15 17:06:00 +08:00
xfy
46c76aa5d5 add util service test 2024-05-14 13:36:16 +08:00
xfy
042e8cd39f refactor mime type with cow str 2024-05-14 13:25:11 +08:00
xfy
c8fb6c0e2d update ci
add test in ci

add editorconfig
2024-05-14 09:37:32 +08:00
xfy
cdf4e4713a update docs 2024-05-14 09:34:30 +08:00
xfy
f869e48a0c fix gitlab ci configuration
add GIT_CLONE_PATH
2024-05-13 22:09:26 +08:00
xfy
0d9bcf3a70 fix gitlab ci
remove ssh
2024-05-13 22:04:20 +08:00
xfy
6d17ed33a0 add gitlab ci 2024-05-13 22:01:58 +08:00
xfy
4a867d13fe add todo
add docker build file to todo
2024-05-13 22:00:40 +08:00
xfy
daccaae982 release 0.1.0 v0.1.0 2024-05-13 21:59:57 +08:00
xfy
7ff097528c fix keep-alive default name error 2024-05-13 21:55:28 +08:00
xfy
216811c4f8 fix keep-alive timeout 2024-05-13 21:41:21 +08:00
xfy
3472d7001e fix config read
deserialize with field snake case
2024-05-13 13:54:51 +08:00
xfy
03fd429d55 ignore heaptack files 2024-05-13 13:25:53 +08:00
xfy
82d2c36079 refactor stream compression 2024-05-13 09:42:07 +08:00
xfy
8d48a2c34e feat: improve error message
when init config failed:

```
Error: init config failed

Caused by:
    0: internal server error read ./config.toml failed
    1: read ./config.toml failed
    2: No such file or directory (os error 2)
```
2024-05-12 17:44:34 +08:00
xfy
2ffc081414 fix read file before check etag 2024-05-11 16:18:04 +08:00
xfy
6cef8c9483 add default header
refactor response
2024-05-11 16:09:07 +08:00
xfy
bb89657cb6 fix toolchain file name 2024-05-11 15:12:27 +08:00
xfy
22e5a3dcb6 refactor cow for borrow str 2024-05-11 15:05:12 +08:00
xfy
f29aff995e perf: create vec with capacity
in compression
2024-05-11 13:23:56 +08:00
xfy
119298a686 refactor global variables 2024-05-11 10:26:22 +08:00
xfy
9b8ca750ee refactor global config
implement mime type for content-type
2024-05-11 10:15:10 +08:00
xfy
e9fefeda4f update dockerignore 2024-05-11 09:27:12 +08:00