From b9899b199779af4532ebbf0ee42064511a926504 Mon Sep 17 00:00:00 2001 From: Nick Banks Date: Fri, 26 Mar 2021 06:45:48 -0700 Subject: [PATCH] Delay Stream SHUTDOWN_COMPLETE Event While Data Pending --- src/core/stream.c | 1 + 1 file changed, 1 insertion(+) 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) {