diff options
author | juhlig <[email protected]> | 2019-05-27 15:20:37 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-05-27 16:03:29 +0200 |
commit | 30604262b5934b38e9f55f0d3ef44f8aed5310de (patch) | |
tree | 5a88a20152197921b266769684c17651afc44882 /test/sendfile_SUITE.erl | |
parent | ad82f58139ca88b7e82dcb6bd50063c899b685e9 (diff) | |
download | ranch-30604262b5934b38e9f55f0d3ef44f8aed5310de.tar.gz ranch-30604262b5934b38e9f55f0d3ef44f8aed5310de.tar.bz2 ranch-30604262b5934b38e9f55f0d3ef44f8aed5310de.zip |
Use transport options in ranch_transport:listen/1 callbacks
The callback `ranch_transport:listen/1` has changed to accept a map
of transport options instead of socket options.
Diffstat (limited to 'test/sendfile_SUITE.erl')
-rw-r--r-- | test/sendfile_SUITE.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sendfile_SUITE.erl b/test/sendfile_SUITE.erl index 5a6d2cb..97716f7 100644 --- a/test/sendfile_SUITE.erl +++ b/test/sendfile_SUITE.erl @@ -270,7 +270,7 @@ do_ssl_chunk_size(Config) -> sockets(Config) -> Transport = config(transport, Config), TransportOpts = config(transport_opts, Config), - {ok, LSocket} = Transport:listen(TransportOpts), + {ok, LSocket} = Transport:listen(#{socket_opts => TransportOpts}), {ok, {_, Port}} = Transport:sockname(LSocket), Self = self(), Fun = fun() -> |