This commit is contained in:
WJQSERVER 2025-01-15 06:53:10 +08:00
parent 5258046faa
commit c2047c49e5
16 changed files with 555 additions and 391 deletions

View file

@ -112,7 +112,7 @@ func init() {
}
gin.LoggerWithWriter(io.Discard)
router := gin.New()
router = gin.New()
router.Use(gin.Recovery())
//H2C默认值为true而后遵循cfg.Server.EnableH2C的设置
if cfg.Server.EnableH2C == "on" {