Skip to content

Commit

Permalink
fix band width limitation problem
Browse files Browse the repository at this point in the history
  • Loading branch information
chengang06 committed May 12, 2021
1 parent 9bc3dcc commit 05cb756
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion srtcore/core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10850,7 +10850,7 @@ void CUDT::checkRexmitTimer(const steady_clock::time_point& currtime)
*/

const uint64_t rtt_syn = (m_iSRTT + 4 * m_iRTTVar + 2 * COMM_SYN_INTERVAL_US);
const uint64_t exp_int_us = (m_iReXmitCount * rtt_syn + COMM_SYN_INTERVAL_US);
const uint64_t exp_int_us = (m_iReXmitCount * rtt_syn + COMM_SYN_INTERVAL_US + count_microseconds(m_tdSendInterval));

if (currtime <= (m_tsLastRspAckTime + microseconds_from(exp_int_us)))
return;
Expand Down

0 comments on commit 05cb756

Please sign in to comment.