|
|
@ -1276,10 +1276,12 @@ namespace stream |
|
|
|
else |
|
|
|
else |
|
|
|
m_WindowSize += (m_WindowSize - (1 - PREV_SPEED_KEEP_TIME_COEFF)) / m_WindowSize; |
|
|
|
m_WindowSize += (m_WindowSize - (1 - PREV_SPEED_KEEP_TIME_COEFF)) / m_WindowSize; |
|
|
|
if (m_WindowSize > MAX_WINDOW_SIZE) m_WindowSize = MAX_WINDOW_SIZE; |
|
|
|
if (m_WindowSize > MAX_WINDOW_SIZE) m_WindowSize = MAX_WINDOW_SIZE; |
|
|
|
m_WindowIncCounter --; |
|
|
|
m_WindowIncCounter--; |
|
|
|
UpdatePacingTime (); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
UpdatePacingTime (); |
|
|
|
} |
|
|
|
} |
|
|
|
if (m_IsNAcked) |
|
|
|
if (m_IsNAcked) |
|
|
|
ResendPacket (); |
|
|
|
ResendPacket (); |
|
|
|