Browse Source

more SYN resend attempts for outgoing stream

pull/2125/head
orignal 1 week ago
parent
commit
5d5970bed4
  1. 2
      libi2pd/Streaming.cpp

2
libi2pd/Streaming.cpp

@ -1338,7 +1338,7 @@ namespace stream @@ -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…
Cancel
Save