From a32e23524bb695bb6edef004f15c4d503cdbc464 Mon Sep 17 00:00:00 2001 From: chihskin-afk Date: Thu, 20 Aug 2026 09:56:04 +0300 Subject: [PATCH] fix(engine): add ReadHeaderTimeout config (#4760) --- gin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gin.go b/gin.go index c08cd929..fce029dd 100644 --- a/gin.go +++ b/gin.go @@ -25,7 +25,7 @@ import ( const ( defaultMultipartMemory = 32 << 20 // 32 MB - defaultReadHeaderTimeout = 10 * time.Second + defaultReadHeaderTimeout = 5 * time.Second escapedColon = "\\:" colon = ":" backslash = "\\"