This commit is contained in:
WJQSERVER 2025-01-19 20:24:32 +08:00
parent ef332a24e5
commit e0af54370e
5 changed files with 30 additions and 5 deletions

View file

@ -91,11 +91,16 @@ func setupRateLimit(cfg *config.Config) {
}
}
func initBufferSize() {
proxy.InitChunkedBufferSize(cfg.Server.BufferSize)
}
func init() {
readFlag()
flag.Parse()
loadConfig()
setupLogger(cfg)
initBufferSize()
loadlist(cfg)
setupRateLimit(cfg)