mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 00:00:29 +03: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
|
||||
++it;
|
||||
}
|
||||
if (m_SentMessages.empty ()) return; // nothing to resend
|
||||
if (numResent < MAX_OUTGOING_WINDOW_SIZE)
|
||||
ScheduleResend ();
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user