fix quic channel
This commit is contained in:
parent
de30e7e520
commit
a6ebd84272
@ -104,7 +104,7 @@ handle_event(internal, do_init, initializing, State=#state{conn = Conn, max_pack
|
||||
max_packet_size = MaxPacketSize,
|
||||
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]),
|
||||
|
||||
{next_state, initialized, State#state{stream = Stream}};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user