aboutsummaryrefslogtreecommitdiffstats
path: root/test/rfc7230_SUITE.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2020-05-20 11:08:58 +0200
committerLoïc Hoguin <[email protected]>2020-05-20 11:08:58 +0200
commit8337aca4d31ffa8120704057675aacbbaa280975 (patch)
tree84905c9c574a5974ab66e42b1269a9e5aa0d7bf9 /test/rfc7230_SUITE.erl
parent4edc39b0030ad09098283cf9aac8182a1d5cba26 (diff)
downloadcowboy-8337aca4d31ffa8120704057675aacbbaa280975.tar.gz
cowboy-8337aca4d31ffa8120704057675aacbbaa280975.tar.bz2
cowboy-8337aca4d31ffa8120704057675aacbbaa280975.zip
Increase the default max_keepalive HTTP option to 1000
100 is very low for current deployments. 1000 is more appropriate as a default value.
Diffstat (limited to 'test/rfc7230_SUITE.erl')
-rw-r--r--test/rfc7230_SUITE.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/rfc7230_SUITE.erl b/test/rfc7230_SUITE.erl
index 19b97bc..e110441 100644
--- a/test/rfc7230_SUITE.erl
+++ b/test/rfc7230_SUITE.erl
@@ -33,7 +33,8 @@ groups() -> [{http, [parallel], ct_helper:all(?MODULE)}].
init_per_group(Name = http, Config) ->
cowboy_test:init_http(Name = http, #{
- env => #{dispatch => cowboy_router:compile(init_routes(Config))}
+ env => #{dispatch => cowboy_router:compile(init_routes(Config))},
+ max_keepalive => 100
}, Config).
end_per_group(Name, _) ->