0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00

Add the max_concurrent_streams h2 option

This commit is contained in:
Loïc Hoguin 2018-04-25 21:32:58 +02:00
parent 8bd55941aa
commit 7373822b86
No known key found for this signature in database
GPG key ID: 8A9DF795F6FED764
4 changed files with 104 additions and 46 deletions

View file

@ -30,7 +30,8 @@ init_per_suite(Config) ->
skip;
_ ->
cowboy_test:init_http2(h2spec, #{
env => #{dispatch => init_dispatch()}
env => #{dispatch => init_dispatch()},
max_concurrent_streams => 100
}, Config)
end.