- RELEASE: v2.0.4正式版发布;
- CHANGE: 优化GitReq的`HTTP Client`参数, 使其更符合本项目使用场景
- CHANGE: 优化Matches
- REMOVE: 移除Caddyfile残留
- REMOVE: 由于v2改进后稳定性增强, 故移除健康检测
This commit is contained in:
WJQSERVER 2025-01-26 16:24:37 +08:00 committed by GitHub
parent 460b7514a9
commit 6e787ced6e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 67 additions and 353 deletions

View file

@ -91,8 +91,8 @@ func setupRateLimit(cfg *config.Config) {
}
}
func InitChunkedReq() {
proxy.InitChunkedReq(cfg.Server.BufferSize)
func InitReq() {
proxy.InitReq(cfg.Server.BufferSize)
}
func init() {
@ -100,7 +100,7 @@ func init() {
flag.Parse()
loadConfig()
setupLogger(cfg)
InitChunkedReq()
InitReq()
loadlist(cfg)
setupRateLimit(cfg)