1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-21 11:57:02 +00:00

Update to 4.2.6, read HISTORY.md

This commit is contained in:
Gerasimos Maropoulos
2016-09-18 01:08:06 +03:00
parent 27f2ba7be9
commit 000dfbbee2
3 changed files with 68 additions and 0 deletions

View File

@@ -437,6 +437,8 @@ func (s *Server) Open(h fasthttp.RequestHandler) error {
s.Server.WriteBufferSize = s.Config.WriteBufferSize
s.Server.ReadTimeout = s.Config.ReadTimeout
s.Server.WriteTimeout = s.Config.WriteTimeout
s.Server.MaxConnsPerIP = s.Config.MaxConnsPerIP
s.Server.MaxRequestsPerConn = s.Config.MaxRequestsPerConn
if s.Config.RedirectTo != "" {
// override the handler and redirect all requests to this addr