mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-16 05:00:24 +00:00
More progress on close
Need to fix the crashes and we should be in a pretty good state for PoC and whatnot.
This commit is contained in:
parent
6c58e7fdce
commit
ee6ef37643
5 changed files with 152 additions and 19 deletions
|
@ -237,8 +237,9 @@ handle({quic, dgram_state_changed, _Conn, _Props}) ->
|
|||
%% QUIC_CONNECTION_EVENT_SHUTDOWN_INITIATED_BY_TRANSPORT
|
||||
handle({quic, transport_shutdown, _Conn, _Flags}) ->
|
||||
ok;
|
||||
handle({quic, peer_send_shutdown, _StreamRef, undefined}) ->
|
||||
ok;
|
||||
handle({quic, peer_send_shutdown, StreamRef, undefined}) ->
|
||||
{ok, StreamID} = quicer:get_stream_id(StreamRef),
|
||||
{peer_send_shutdown, StreamID};
|
||||
handle({quic, send_shutdown_complete, _StreamRef, _IsGraceful}) ->
|
||||
ok;
|
||||
handle({quic, shutdown, _Conn, success}) ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue