diff options
author | Loïc Hoguin <[email protected]> | 2018-08-01 13:10:16 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-08-01 13:10:16 +0200 |
commit | 35ebb978da3975d9d201fd85d35b4e7e0befd569 (patch) | |
tree | 13d4b08ed2c2e3c8f7090698163d62da715dfcbf /src/ranch.erl | |
parent | 9485dc4def1e1ce0acbce18dcc39d60fb17fff90 (diff) | |
download | ranch-35ebb978da3975d9d201fd85d35b4e7e0befd569.tar.gz ranch-35ebb978da3975d9d201fd85d35b4e7e0befd569.tar.bz2 ranch-35ebb978da3975d9d201fd85d35b4e7e0befd569.zip |
Remove R16 compatibility
Ranch is now made for and tested on 18+ only.
Diffstat (limited to 'src/ranch.erl')
-rw-r--r-- | src/ranch.erl | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/ranch.erl b/src/ranch.erl index bc31fdf..ed52b73 100644 --- a/src/ranch.erl +++ b/src/ranch.erl @@ -96,10 +96,7 @@ start_listener(Ref, Transport, TransOpts0, Protocol, ProtoOpts) Children = supervisor:which_children(Pid), {_, AcceptorsSup, _, _} = lists:keyfind(ranch_acceptors_sup, 1, Children), - %%% Note: the catch is here because SSL crashes when you change - %%% the controlling process of a listen socket because of a bug. - %%% The bug will be fixed in R16. - catch Transport:controlling_process(Socket, AcceptorsSup); + Transport:controlling_process(Socket, AcceptorsSup); _ -> ok end, |