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:
2
http.go
2
http.go
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user