Browse Source

don't double initial RTO

pull/2045/head
Vort 2 months ago
parent
commit
a703d31893
  1. 3
      libi2pd/Streaming.cpp

3
libi2pd/Streaming.cpp

@ -1013,7 +1013,8 @@ namespace stream @@ -1013,7 +1013,8 @@ namespace stream
if (packets.size () > 0)
{
m_NumResendAttempts++;
m_RTO *= 2;
if (m_RTO != INITIAL_RTO)
m_RTO *= 2;
switch (m_NumResendAttempts)
{
case 1: // congestion avoidance

Loading…
Cancel
Save