mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 13:27:17 +01:00
send ack to relay messages
This commit is contained in:
parent
0f5e8d8424
commit
98e93468a6
|
@ -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…
Reference in a new issue