aboutsummaryrefslogtreecommitdiffstats
path: root/src/ranch.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/ranch.erl')
-rw-r--r--src/ranch.erl8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/ranch.erl b/src/ranch.erl
index 0229163..4198997 100644
--- a/src/ranch.erl
+++ b/src/ranch.erl
@@ -20,7 +20,6 @@
-export([suspend_listener/1]).
-export([resume_listener/1]).
-export([child_spec/5]).
--export([accept_ack/1]).
-export([handshake/1]).
-export([handshake/2]).
-export([recv_proxy_header/2]).
@@ -44,8 +43,6 @@
-export([require/1]).
-export([log/4]).
--deprecated([accept_ack/1]).
-
-type max_conns() :: non_neg_integer() | infinity.
-export_type([max_conns/0]).
@@ -145,11 +142,6 @@ child_spec(Ref, Transport, TransOpts0, Protocol, ProtoOpts) ->
Ref, Transport, TransOpts, Protocol, ProtoOpts
]}, permanent, infinity, supervisor, [ranch_listener_sup]}.
--spec accept_ack(ref()) -> ok.
-accept_ack(Ref) ->
- {ok, _} = handshake(Ref),
- ok.
-
-spec handshake(ref()) -> {ok, ranch_transport:socket()}.
handshake(Ref) ->
handshake(Ref, []).