diff options
Diffstat (limited to 'src/ranch_acceptors_sup.erl')
-rw-r--r-- | src/ranch_acceptors_sup.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ranch_acceptors_sup.erl b/src/ranch_acceptors_sup.erl index 24cce2b..7092ab8 100644 --- a/src/ranch_acceptors_sup.erl +++ b/src/ranch_acceptors_sup.erl @@ -30,8 +30,9 @@ init([Ref, NumAcceptors, Transport, TransOpts]) -> TransOpts2 = proplists:delete(ack_timeout, proplists:delete(connection_type, proplists:delete(max_connections, + proplists:delete(num_acceptors, proplists:delete(shutdown, - proplists:delete(socket, TransOpts))))), + proplists:delete(socket, TransOpts)))))), case Transport:listen(TransOpts2) of {ok, Socket} -> Socket; {error, Reason} -> listen_error(Ref, Transport, TransOpts2, Reason) |