This commit is contained in:
anlicheng 2025-11-27 17:30:26 +08:00
parent 27b0a8c6cd
commit ab4c11042e

View File

@ -163,8 +163,7 @@ handle_info({ssl_error, Socket, Reason}, State = #state{socket = Socket}) ->
handle_info({ssl_closed, Socket}, State = #state{socket = Socket}) -> handle_info({ssl_closed, Socket}, State = #state{socket = Socket}) ->
{stop, normal, State}; {stop, normal, State};
handle_info({timeout, _, ping_ticker}, State = #state{socket = Socket}) -> handle_info({timeout, _, ping_ticker}, State) ->
%ok = ssl:send(Socket, <<?PACKET_PING>>),
ping_ticker(), ping_ticker(),
{noreply, State}; {noreply, State};