mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-16 21:32:11 +08:00
initialize trustedCIDRs directly
directly initialization
This commit is contained in:
parent
c7e3b728fb
commit
25af02a308
4
gin.go
4
gin.go
@ -189,10 +189,6 @@ func New() *Engine {
|
|||||||
engine.pool.New = func() interface{} {
|
engine.pool.New = func() interface{} {
|
||||||
return engine.allocateContext()
|
return engine.allocateContext()
|
||||||
}
|
}
|
||||||
<<<<<<< Updated upstream
|
|
||||||
_ = engine.parseTrustedProxies()
|
|
||||||
=======
|
|
||||||
>>>>>>> Stashed changes
|
|
||||||
return engine
|
return engine
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user