mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-31 09:04:14 +00:00
don't double initial RTO
This commit is contained in:
parent
4f8f3a386f
commit
a703d31893
@ -1013,7 +1013,8 @@ namespace stream
|
|||||||
if (packets.size () > 0)
|
if (packets.size () > 0)
|
||||||
{
|
{
|
||||||
m_NumResendAttempts++;
|
m_NumResendAttempts++;
|
||||||
m_RTO *= 2;
|
if (m_RTO != INITIAL_RTO)
|
||||||
|
m_RTO *= 2;
|
||||||
switch (m_NumResendAttempts)
|
switch (m_NumResendAttempts)
|
||||||
{
|
{
|
||||||
case 1: // congestion avoidance
|
case 1: // congestion avoidance
|
||||||
|
Loading…
x
Reference in New Issue
Block a user