aboutsummaryrefslogtreecommitdiffstats
path: root/test/rfc7230_SUITE.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2022-10-11 18:31:12 +0200
committerLoïc Hoguin <[email protected]>2022-10-11 18:31:12 +0200
commita4425a1d7db2d9e35f246aa078c324988ea395f0 (patch)
treee6afc44a9f84de9e64dda75f589c7fda303825a6 /test/rfc7230_SUITE.erl
parent2e3f2c1474350199ec1f9379c2dbe60627493962 (diff)
downloadgun-a4425a1d7db2d9e35f246aa078c324988ea395f0.tar.gz
gun-a4425a1d7db2d9e35f246aa078c324988ea395f0.tar.bz2
gun-a4425a1d7db2d9e35f246aa078c324988ea395f0.zip
Update tests for OTP-25+
Diffstat (limited to 'test/rfc7230_SUITE.erl')
-rw-r--r--test/rfc7230_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rfc7230_SUITE.erl b/test/rfc7230_SUITE.erl
index b0ad323..b7c29e4 100644
--- a/test/rfc7230_SUITE.erl
+++ b/test/rfc7230_SUITE.erl
@@ -59,7 +59,7 @@ do_host_port(Transport, DefaultPort, HostHeaderPort) ->
{ok, OriginPid, OriginPort} = init_origin(Transport, http),
{ok, ConnPid} = gun:open("localhost", OriginPort, #{
transport => Transport,
- tls_opts => [{verify, verify_none}]
+ tls_opts => [{verify, verify_none}, {versions, ['tlsv1.2']}]
}),
{ok, http} = gun:await_up(ConnPid),
%% Change the origin's port in the state to trigger the default port behavior.