mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-08-28 22:59:13 +00:00
fixed choked stream hanging
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user