aboutsummaryrefslogtreecommitdiffstats
path: root/test/remove_conn_and_wait_protocol.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/remove_conn_and_wait_protocol.erl')
-rw-r--r--test/remove_conn_and_wait_protocol.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/remove_conn_and_wait_protocol.erl b/test/remove_conn_and_wait_protocol.erl
index db688ff..59cedfc 100644
--- a/test/remove_conn_and_wait_protocol.erl
+++ b/test/remove_conn_and_wait_protocol.erl
@@ -9,7 +9,7 @@ start_link(Ref, _, _, [{remove, MaybeRemove, Timeout}]) ->
{ok, Pid}.
init(Ref, MaybeRemove, Timeout) ->
- ranch:accept_ack(Ref),
+ {ok, _} = ranch:handshake(Ref),
case MaybeRemove of
true ->
ranch:remove_connection(Ref);