fix quic channel

This commit is contained in:
anlicheng 2026-02-15 00:15:34 +08:00
parent de30e7e520
commit a6ebd84272

View File

@ -104,7 +104,7 @@ handle_event(internal, do_init, initializing, State=#state{conn = Conn, max_pack
max_packet_size = MaxPacketSize, max_packet_size = MaxPacketSize,
heartbeat_sec = HeartbeatSec heartbeat_sec = HeartbeatSec
}), }),
{ok, _} = quicer:send(Stream, <<0:32, ?PACKET_WELCOME, WelcomePkt/binary>>), {ok, _} = quicer:send(Stream, <<?PACKET_WELCOME, WelcomePkt/binary>>),
logger:debug("[sdlan_quic_channel] get stream: ~p, send welcome", [Stream]), logger:debug("[sdlan_quic_channel] get stream: ~p, send welcome", [Stream]),
{next_state, initialized, State#state{stream = Stream}}; {next_state, initialized, State#state{stream = Stream}};