mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
more SYN resend attempts for outgoing stream
This commit is contained in:
@@ -1338,7 +1338,7 @@ namespace stream
|
|||||||
void Stream::ResendPacket ()
|
void Stream::ResendPacket ()
|
||||||
{
|
{
|
||||||
// check for resend attempts
|
// 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);
|
LogPrint (eLogWarning, "Streaming: SYNACK packet was not ACKed after ", m_NumResendAttempts, " attempts, terminate, rSID=", m_RecvStreamID, ", sSID=", m_SendStreamID);
|
||||||
m_Status = eStreamStatusReset;
|
m_Status = eStreamStatusReset;
|
||||||
|
|||||||
Reference in New Issue
Block a user