From 35ebb978da3975d9d201fd85d35b4e7e0befd569 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Wed, 1 Aug 2018 13:10:16 +0200 Subject: Remove R16 compatibility Ranch is now made for and tested on 18+ only. --- src/ranch.erl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src') 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, -- cgit v1.2.3