fix
This commit is contained in:
parent
27b0a8c6cd
commit
ab4c11042e
@ -163,8 +163,7 @@ handle_info({ssl_error, Socket, Reason}, State = #state{socket = Socket}) ->
|
||||
handle_info({ssl_closed, Socket}, State = #state{socket = Socket}) ->
|
||||
{stop, normal, State};
|
||||
|
||||
handle_info({timeout, _, ping_ticker}, State = #state{socket = Socket}) ->
|
||||
%ok = ssl:send(Socket, <<?PACKET_PING>>),
|
||||
handle_info({timeout, _, ping_ticker}, State) ->
|
||||
ping_ticker(),
|
||||
{noreply, State};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user