Browse Source

send ack to relay messages

gha
orignal 2 months ago
parent
commit
98e93468a6
  1. 3
      libi2pd/SSU2Session.cpp

3
libi2pd/SSU2Session.cpp

@ -1570,14 +1570,17 @@ namespace transport
case eSSU2BlkRelayRequest: case eSSU2BlkRelayRequest:
LogPrint (eLogDebug, "SSU2: RelayRequest"); LogPrint (eLogDebug, "SSU2: RelayRequest");
HandleRelayRequest (buf + offset, size); HandleRelayRequest (buf + offset, size);
m_IsDataReceived = true;
break; break;
case eSSU2BlkRelayResponse: case eSSU2BlkRelayResponse:
LogPrint (eLogDebug, "SSU2: RelayResponse"); LogPrint (eLogDebug, "SSU2: RelayResponse");
HandleRelayResponse (buf + offset, size); HandleRelayResponse (buf + offset, size);
m_IsDataReceived = true;
break; break;
case eSSU2BlkRelayIntro: case eSSU2BlkRelayIntro:
LogPrint (eLogDebug, "SSU2: RelayIntro"); LogPrint (eLogDebug, "SSU2: RelayIntro");
HandleRelayIntro (buf + offset, size); HandleRelayIntro (buf + offset, size);
m_IsDataReceived = true;
break; break;
case eSSU2BlkPeerTest: case eSSU2BlkPeerTest:
LogPrint (eLogDebug, "SSU2: PeerTest msg=", (int)buf[offset], " code=", (int)buf[offset+1]); LogPrint (eLogDebug, "SSU2: PeerTest msg=", (int)buf[offset], " code=", (int)buf[offset+1]);

Loading…
Cancel
Save