From 3bdca8bcbcae9a24cfba20e5307cdbe71dd0681e Mon Sep 17 00:00:00 2001 From: iamsi Date: Mon, 22 Feb 2021 15:48:47 +0000 Subject: [PATCH] Correct last frame reflection issue There's a bug in this version that reflects the last frame to the sender, this is the change from upstream that corrects the issue. --- src/cprotocol.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cprotocol.cpp b/src/cprotocol.cpp index deca34c..cf82233 100644 --- a/src/cprotocol.cpp +++ b/src/cprotocol.cpp @@ -183,8 +183,8 @@ void CProtocol::OnDvLastFramePacketIn(std::unique_ptr &Frame stream->Push(std::move(Frame)); stream->Unlock(); - // and close the stream - g_Reflector.CloseStream(stream); + // Don't close yet, this stops the last packet relfection bug that was fixed in upstream by the same change. + } // else // {