fixed choked stream hanging

This commit is contained in:
orignal
2025-05-04 18:59:21 -04:00
parent 0d278d2ae5
commit 209eb174c6
+1 -1
View File
@@ -642,7 +642,7 @@ namespace stream
if (wasInitial)
ScheduleResend ();
}
if (m_IsClientChoked && ackThrough >= m_DropWindowDelaySequenceNumber)
if (m_IsClientChoked && (ackThrough >= m_DropWindowDelaySequenceNumber || m_SentPackets.empty ()))
m_IsClientChoked = false;
if (m_IsWinDropped && ackThrough > m_DropWindowDelaySequenceNumber)
{