diff options
author | Dmitry Patsura <[email protected]> | 2019-06-14 16:34:51 +0300 |
---|---|---|
committer | Dmitry Patsura <[email protected]> | 2019-06-14 16:46:11 +0300 |
commit | 928bff44e21997e4b5f1caefa0e8a627a235b01d (patch) | |
tree | 36e859793ad17055de65426526e30a63913277f6 /service/http/service.go | |
parent | 78724c084ac4db42e713c45ef8cb1453e8352183 (diff) |
Feature(http): Support maxConcurrentStreams configuration
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 } |