🐛 Increase the header field size limit
This commit is contained in:
		@@ -29,6 +29,7 @@ func NewServer() *WebApp {
 | 
			
		||||
		JSONEncoder:           json.Marshal,
 | 
			
		||||
		JSONDecoder:           json.Unmarshal,
 | 
			
		||||
		BodyLimit:             512 * 1024 * 1024 * 1024, // 512 TiB
 | 
			
		||||
		ReadBufferSize:        5 * 1024 * 1024,          // 5MB for large JWT
 | 
			
		||||
		EnablePrintRoutes:     viper.GetBool("debug.print_routes"),
 | 
			
		||||
	})
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user