diff options
author | Loïc Hoguin <[email protected]> | 2015-04-08 23:34:08 +0300 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2015-04-08 23:34:08 +0300 |
commit | 8366ba94bb9e450221a246acdd482c0162affcd9 (patch) | |
tree | 5797de02c7f00760d50136c33502eaee654378dd /test | |
parent | 335eb50a06c574fb9dfb50cac6185aa18e8c3834 (diff) | |
download | gun-8366ba94bb9e450221a246acdd482c0162affcd9.tar.gz gun-8366ba94bb9e450221a246acdd482c0162affcd9.tar.bz2 gun-8366ba94bb9e450221a246acdd482c0162affcd9.zip |
Use maps for and improve options
The type option has been removed. The transport and protocols
options can be used in its place.
The transport_opts option can be used to specify transport
options.
The http_opts and spdy_opts options can be used to specify
protocol specific options.
The keepalive option is now a protocol specific option.
Defaults depending on the port number have changed. Now only
port 443 uses ssl by default, other ports use tcp.
Diffstat (limited to 'test')
-rw-r--r-- | test/ws_SUITE.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ws_SUITE.erl b/test/ws_SUITE.erl index 82f3632..2310b31 100644 --- a/test/ws_SUITE.erl +++ b/test/ws_SUITE.erl @@ -140,7 +140,7 @@ log_output() -> ok. connect(Path) -> - {ok, Pid} = gun:open("127.0.0.1", 33080, [{type, tcp}, {retry, 0}]), + {ok, Pid} = gun:open("127.0.0.1", 33080, #{retry=>0}), Ref = monitor(process, Pid), gun:ws_upgrade(Pid, Path, [], #{compress => true}), receive |