From 25af02a308dd977dd7305f0c6fe1bcd0242d7d40 Mon Sep 17 00:00:00 2001 From: Notealot <714804968@qq.com> Date: Wed, 22 Sep 2021 16:43:38 +0800 Subject: [PATCH] initialize trustedCIDRs directly directly initialization --- gin.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gin.go b/gin.go index 5584bf0c..d0b02a58 100644 --- a/gin.go +++ b/gin.go @@ -189,10 +189,6 @@ func New() *Engine { engine.pool.New = func() interface{} { return engine.allocateContext() } -<<<<<<< Updated upstream - _ = engine.parseTrustedProxies() -======= ->>>>>>> Stashed changes return engine }