diff options
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. |