mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-02 02:44:15 +00:00
don't re-schedule resend timer if nothing to resend
This commit is contained in:
parent
7c70dbce65
commit
13111c4b42
@ -462,6 +462,7 @@ namespace transport
|
|||||||
else
|
else
|
||||||
++it;
|
++it;
|
||||||
}
|
}
|
||||||
|
if (m_SentMessages.empty ()) return; // nothing to resend
|
||||||
if (numResent < MAX_OUTGOING_WINDOW_SIZE)
|
if (numResent < MAX_OUTGOING_WINDOW_SIZE)
|
||||||
ScheduleResend ();
|
ScheduleResend ();
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user