This commit is contained in:
Notealot 2021-08-20 01:37:51 +08:00
parent a46dee3a9a
commit 27fabb143c

1
gin.go
View File

@ -188,6 +188,7 @@ func New() *Engine {
engine.pool.New = func() interface{} {
return engine.allocateContext()
}
engine.trustedCIDRs, _ = engine.prepareTrustedCIDRs()
return engine
}