mirror of
https://github.com/WJQSERVER-STUDIO/ghproxy.git
synced 2026-02-03 00:01:10 +08:00
2.0.4 (#39)
- RELEASE: v2.0.4正式版发布; - CHANGE: 优化GitReq的`HTTP Client`参数, 使其更符合本项目使用场景 - CHANGE: 优化Matches - REMOVE: 移除Caddyfile残留 - REMOVE: 由于v2改进后稳定性增强, 故移除健康检测
This commit is contained in:
parent
460b7514a9
commit
6e787ced6e
14 changed files with 67 additions and 353 deletions
6
main.go
6
main.go
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue