diff options
Diffstat (limited to 'service/http/service.go')
-rw-r--r-- | service/http/service.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/service/http/service.go b/service/http/service.go index b309cd45..8e0d10ee 100644 --- a/service/http/service.go +++ b/service/http/service.go @@ -210,7 +210,9 @@ func (s *Service) initSSL() *http.Server { s.throw(EventInitSSL, server) // Enable HTTP/2 support by default - http2.ConfigureServer(server, &http2.Server{}) + http2.ConfigureServer(server, &http2.Server{ + MaxConcurrentStreams: s.cfg.HTTP2.MaxConcurrentStreams, + }) return server } |