mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-11 09:17:51 +00:00
more SYN resend attempts for outgoing stream
This commit is contained in:
parent
86080b26ae
commit
5d5970bed4
@ -1338,7 +1338,7 @@ namespace stream
|
||||
void Stream::ResendPacket ()
|
||||
{
|
||||
// check for resend attempts
|
||||
if (m_SequenceNumber == 1 && m_NumResendAttempts > 0)
|
||||
if (m_IsIncoming && m_SequenceNumber == 1 && m_NumResendAttempts > 0)
|
||||
{
|
||||
LogPrint (eLogWarning, "Streaming: SYNACK packet was not ACKed after ", m_NumResendAttempts, " attempts, terminate, rSID=", m_RecvStreamID, ", sSID=", m_SendStreamID);
|
||||
m_Status = eStreamStatusReset;
|
||||
|
Loading…
Reference in New Issue
Block a user