fix
This commit is contained in:
parent
7c74e07c51
commit
c5a0c25b8c
@ -232,6 +232,9 @@ handle_event(info, {frame, <<?PACKET_UNREGISTER>>}, registered, State=#state{cli
|
|||||||
handle_event(info, {quic, send_shutdown_complete, Stream, _Props}, _StateName, State = #state{stream = Stream}) ->
|
handle_event(info, {quic, send_shutdown_complete, Stream, _Props}, _StateName, State = #state{stream = Stream}) ->
|
||||||
{stop, connection_shutdown, State};
|
{stop, connection_shutdown, State};
|
||||||
|
|
||||||
|
handle_event(info, {quic, transport_shutdown, Stream, _Props}, _StateName, State = #state{stream = Stream}) ->
|
||||||
|
{stop, transport_shutdown, State};
|
||||||
|
|
||||||
%% 处理quicer相关的信息, 需要转换成内部能够识别的frame消息
|
%% 处理quicer相关的信息, 需要转换成内部能够识别的frame消息
|
||||||
handle_event(info, {quic, Data, Stream, _Props}, _StateName, State = #state{stream = Stream, buf = Buf, max_packet_size = MaxPacketSize}) ->
|
handle_event(info, {quic, Data, Stream, _Props}, _StateName, State = #state{stream = Stream, buf = Buf, max_packet_size = MaxPacketSize}) ->
|
||||||
case decode_frames(<<Buf/binary, Data/binary>>, MaxPacketSize) of
|
case decode_frames(<<Buf/binary, Data/binary>>, MaxPacketSize) of
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user