Browse Source

don't double initial RTO

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

1
libi2pd/Streaming.cpp

@ -1013,6 +1013,7 @@ namespace stream
if (packets.size () > 0) if (packets.size () > 0)
{ {
m_NumResendAttempts++; m_NumResendAttempts++;
if (m_RTO != INITIAL_RTO)
m_RTO *= 2; m_RTO *= 2;
switch (m_NumResendAttempts) switch (m_NumResendAttempts)
{ {

Loading…
Cancel
Save