From 6d8b249e54c849948f6d4cdb021cb44340ec289f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 13 May 2019 10:30:26 +0200 Subject: Add the passive messages to ranch_transport:messages/0 --- test/active_echo_protocol.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/active_echo_protocol.erl b/test/active_echo_protocol.erl index 3c3ab0d..6ae47a6 100644 --- a/test/active_echo_protocol.erl +++ b/test/active_echo_protocol.erl @@ -13,7 +13,7 @@ init(Ref, Transport, _Opts = []) -> loop(Socket, Transport). loop(Socket, Transport) -> - {OK, Closed, Error} = Transport:messages(), + {OK, Closed, Error, _Passive} = Transport:messages(), Transport:setopts(Socket, [{active, once}]), receive {OK, Socket, Data} -> -- cgit v1.2.3