don't re-schedule resend timer if nothing to resend

This commit is contained in:
orignal 2017-02-11 18:18:37 -05:00
parent 7c70dbce65
commit 13111c4b42

View File

@ -462,6 +462,7 @@ namespace transport
else
++it;
}
if (m_SentMessages.empty ()) return; // nothing to resend
if (numResent < MAX_OUTGOING_WINDOW_SIZE)
ScheduleResend ();
else