mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 13:27:17 +01:00
don't print warning if duplicated nonce or peer test
This commit is contained in:
parent
d521350588
commit
0f5e8d8424
|
@ -2127,14 +2127,14 @@ namespace transport
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
LogPrint (eLogInfo, "SSU2: RelayResponse status code=", (int)buf[1]);
|
LogPrint (eLogInfo, "SSU2: RelayResponse status code=", (int)buf[1], " nonce=", bufbe32toh (buf + 2));
|
||||||
it->second.first->Done ();
|
it->second.first->Done ();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
m_RelaySessions.erase (it);
|
m_RelaySessions.erase (it);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
LogPrint (eLogWarning, "SSU2: RelayResponse unknown nonce ", bufbe32toh (buf + 2));
|
LogPrint (eLogDebug, "SSU2: RelayResponse unknown nonce ", bufbe32toh (buf + 2));
|
||||||
}
|
}
|
||||||
|
|
||||||
void SSU2Session::HandlePeerTest (const uint8_t * buf, size_t len)
|
void SSU2Session::HandlePeerTest (const uint8_t * buf, size_t len)
|
||||||
|
@ -2294,7 +2294,7 @@ namespace transport
|
||||||
aliceSession->m_SentPackets.emplace (packetNum, packet);
|
aliceSession->m_SentPackets.emplace (packetNum, packet);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
LogPrint (eLogWarning, "SSU2: Unknown peer test 3 nonce ", nonce);
|
LogPrint (eLogDebug, "SSU2: Unknown peer test 3 nonce ", nonce);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 4: // Alice from Bob
|
case 4: // Alice from Bob
|
||||||
|
@ -2382,7 +2382,7 @@ namespace transport
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
LogPrint (eLogWarning, "SSU2: Unknown peer test 4 nonce ", nonce);
|
LogPrint (eLogDebug, "SSU2: Unknown peer test 4 nonce ", nonce);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue