From 6394c0df8b1b593ca3c3799ef3a022517d9a730f Mon Sep 17 00:00:00 2001 From: Hans Nilsson Date: Fri, 14 Oct 2016 15:44:02 +0200 Subject: ftp: added forgotten inet:setopts active once --- lib/inets/src/ftp/ftp.erl | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/inets') diff --git a/lib/inets/src/ftp/ftp.erl b/lib/inets/src/ftp/ftp.erl index 2fc93b0f2a..39b3bada83 100644 --- a/lib/inets/src/ftp/ftp.erl +++ b/lib/inets/src/ftp/ftp.erl @@ -2361,6 +2361,7 @@ send_message({ssl, Socket}, Message) -> activate_ctrl_connection(#state{csock = Socket, ctrl_data = {<<>>, _, _}}) -> activate_connection(Socket); activate_ctrl_connection(#state{csock = Socket}) -> + activate_connection(Socket), %% We have already received at least part of the next control message, %% that has been saved in ctrl_data, process this first. self() ! {socket_type(Socket), unwrap_socket(Socket), <<>>}. -- cgit v1.2.3