mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-06-20 04:55:40 +02:00
increase message expiration timeout in SSU2
This commit is contained in:
parent
606881898b
commit
35ba14d06a
2 changed files with 3 additions and 2 deletions
libi2pd
|
@ -468,7 +468,7 @@ namespace transport
|
|||
while (!m_SendQueue.empty () && m_SentPackets.size () <= m_WindowSize)
|
||||
{
|
||||
auto msg = m_SendQueue.front ();
|
||||
if (!msg || msg->IsExpired (ts) || msg->GetEnqueueTime() + m_MsgLocalExpirationTimeout < mts)
|
||||
if (!msg || msg->IsExpired (ts) || msg->GetEnqueueTime() + I2NP_MESSAGE_LOCAL_EXPIRATION_TIMEOUT_TRANSIT < mts)
|
||||
{
|
||||
// drop null or expired message
|
||||
if (msg) msg->Drop ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue