mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 21:37:17 +01:00
drop window if remote lease changes
This commit is contained in:
parent
7be64dad89
commit
d169b422da
|
@ -1418,6 +1418,16 @@ namespace stream
|
||||||
LogPrint (eLogWarning, "Streaming: Remote LeaseSet not found");
|
LogPrint (eLogWarning, "Streaming: Remote LeaseSet not found");
|
||||||
m_CurrentRemoteLease = nullptr;
|
m_CurrentRemoteLease = nullptr;
|
||||||
}
|
}
|
||||||
|
// drop window to initial upon RemoteLease change
|
||||||
|
m_RTO = INITIAL_RTO;
|
||||||
|
m_WindowSize = INITIAL_WINDOW_SIZE;
|
||||||
|
m_LastWindowDropSize = 0;
|
||||||
|
m_WindowIncCounter = 0;
|
||||||
|
m_IsWinDropped = true;
|
||||||
|
m_IsFirstRttSample = true;
|
||||||
|
m_DropWindowDelayTime = 0;
|
||||||
|
m_IsFirstACK = true;
|
||||||
|
UpdatePacingTime ();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Stream::ResetRoutingPath ()
|
void Stream::ResetRoutingPath ()
|
||||||
|
|
Loading…
Reference in a new issue