mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-22 00:59:08 +01:00
drop RTO to initial if tunnels pair changes
This commit is contained in:
parent
5bc854bedc
commit
c2edbdc487
1 changed files with 1 additions and 0 deletions
|
@ -640,6 +640,7 @@ namespace stream
|
||||||
// congesion avoidance didn't help
|
// congesion avoidance didn't help
|
||||||
m_CurrentOutboundTunnel = nullptr; // pick another outbound tunnel
|
m_CurrentOutboundTunnel = nullptr; // pick another outbound tunnel
|
||||||
UpdateCurrentRemoteLease (); // pick another lease
|
UpdateCurrentRemoteLease (); // pick another lease
|
||||||
|
m_RTO = INITIAL_RTO; // drop RTO to initial upon tunnels pair change
|
||||||
}
|
}
|
||||||
SendPackets (packets);
|
SendPackets (packets);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue