From 9fec1a86cf1e175e03c8fe2c8ee4b7a3f252f12e Mon Sep 17 00:00:00 2001 From: orignal Date: Mon, 18 Jul 2022 19:58:19 -0400 Subject: [PATCH] send ack for peer test --- libi2pd/SSU2Session.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libi2pd/SSU2Session.cpp b/libi2pd/SSU2Session.cpp index 480d2f0b..054a0e0f 100644 --- a/libi2pd/SSU2Session.cpp +++ b/libi2pd/SSU2Session.cpp @@ -1283,6 +1283,8 @@ namespace transport case eSSU2BlkPeerTest: LogPrint (eLogDebug, "SSU2: PeerTest msg=", (int)buf[offset], " code=", (int)buf[offset+1]); HandlePeerTest (buf + offset, size); + if (buf[offset] < 5) + m_IsDataReceived = true; break; case eSSU2BlkNextNonce: break;