From 8337aca4d31ffa8120704057675aacbbaa280975 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Wed, 20 May 2020 11:08:58 +0200 Subject: Increase the default max_keepalive HTTP option to 1000 100 is very low for current deployments. 1000 is more appropriate as a default value. --- test/rfc7230_SUITE.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/rfc7230_SUITE.erl') 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, _) -> -- cgit v1.2.3