diff options
author | Loïc Hoguin <[email protected]> | 2023-03-29 15:17:09 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2023-03-29 15:17:09 +0200 |
commit | b9d4e05be099c972f0fdfc097a2e26d489082402 (patch) | |
tree | 778f52dd81db8f014dc4495a3e09d33ad347afcd /test/cowboy_test.erl | |
parent | 30ee75cea14c1fd63a46093cfb2bb9ad3f844f75 (diff) | |
download | cowboy-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.erl | 2 |
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. |