Skip to content

Commit

Permalink
Delay Stream SHUTDOWN_COMPLETE Event While Data Pending (#1382)
Browse files Browse the repository at this point in the history
  • Loading branch information
nibanks authored Mar 26, 2021
1 parent eb08035 commit 616813d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/stream.c
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,7 @@ QuicStreamTryCompleteShutdown(
)
{
if (!Stream->Flags.ShutdownComplete &&
!Stream->Flags.ReceiveDataPending &&
Stream->Flags.LocalCloseAcked &&
Stream->Flags.RemoteCloseAcked) {

Expand Down

0 comments on commit 616813d

Please sign in to comment.