diff --git a/src/core/stream.c b/src/core/stream.c index d9b2a74d14..ebe9f73b51 100644 --- a/src/core/stream.c +++ b/src/core/stream.c @@ -502,6 +502,7 @@ QuicStreamTryCompleteShutdown( ) { if (!Stream->Flags.ShutdownComplete && + !Stream->Flags.ReceiveDataPending && Stream->Flags.LocalCloseAcked && Stream->Flags.RemoteCloseAcked) {