mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-08 22:13:48 +01:00
don't re-schedule resend timer if nothing to resend
This commit is contained in:
parent
7c70dbce65
commit
13111c4b42
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue