mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
add clock skew to expiration
This commit is contained in:
parent
18914978d5
commit
5482a57c45
3 changed files with 9 additions and 4 deletions
|
@ -225,7 +225,7 @@ namespace tunnel
|
|||
|
||||
void TunnelEndpoint::HandleNextMessage (const TunnelMessageBlock& msg)
|
||||
{
|
||||
if (msg.data->IsExpired ())
|
||||
if (!m_IsInbound && msg.data->IsExpired ())
|
||||
{
|
||||
LogPrint (eLogInfo, "TunnelMessage: message expired");
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue