aboutsummaryrefslogtreecommitdiffstats
path: root/test/cowboy_test.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2023-03-29 15:17:09 +0200
committerLoïc Hoguin <[email protected]>2023-03-29 15:17:09 +0200
commitb9d4e05be099c972f0fdfc097a2e26d489082402 (patch)
tree778f52dd81db8f014dc4495a3e09d33ad347afcd /test/cowboy_test.erl
parent30ee75cea14c1fd63a46093cfb2bb9ad3f844f75 (diff)
downloadcowboy-b9d4e05be099c972f0fdfc097a2e26d489082402.tar.gz
cowboy-b9d4e05be099c972f0fdfc097a2e26d489082402.tar.bz2
cowboy-b9d4e05be099c972f0fdfc097a2e26d489082402.zip
Fix tests for OTP-25+
Diffstat (limited to 'test/cowboy_test.erl')
-rw-r--r--test/cowboy_test.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cowboy_test.erl b/test/cowboy_test.erl
index 7ebe618..b703efa 100644
--- a/test/cowboy_test.erl
+++ b/test/cowboy_test.erl
@@ -115,7 +115,7 @@ gun_open(Config, Opts) ->
{ok, ConnPid} = gun:open("localhost", config(port, Config), Opts#{
retry => 0,
transport => config(type, Config),
- tls_opts => proplists:get_value(tls_opts, Config, []),
+ tls_opts => [{versions, ['tlsv1.2']}|proplists:get_value(tls_opts, Config, [])],
protocols => [config(protocol, Config)]
}),
ConnPid.