mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
Fix tests for OTP-25+
This commit is contained in:
parent
30ee75cea1
commit
b9d4e05be0
4 changed files with 62 additions and 32 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue