mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-13 04:46:38 +01:00
don't double initial RTO
This commit is contained in:
parent
4f8f3a386f
commit
a703d31893
1 changed files with 2 additions and 1 deletions
|
@ -1013,6 +1013,7 @@ namespace stream
|
|||
if (packets.size () > 0)
|
||||
{
|
||||
m_NumResendAttempts++;
|
||||
if (m_RTO != INITIAL_RTO)
|
||||
m_RTO *= 2;
|
||||
switch (m_NumResendAttempts)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue