mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 21:37:17 +01:00
temporary disable RelayResponse resend through introducer session
This commit is contained in:
parent
bce9630ff8
commit
4436c49ccc
|
@ -2067,9 +2067,11 @@ namespace transport
|
||||||
packet->payloadSize = CreateRelayResponseBlock (packet->payload, m_MaxPayloadSize,
|
packet->payloadSize = CreateRelayResponseBlock (packet->payload, m_MaxPayloadSize,
|
||||||
code, bufbe32toh (buf + 33), token, isV4);
|
code, bufbe32toh (buf + 33), token, isV4);
|
||||||
packet->payloadSize += CreatePaddingBlock (packet->payload + packet->payloadSize, m_MaxPayloadSize - packet->payloadSize);
|
packet->payloadSize += CreatePaddingBlock (packet->payload + packet->payloadSize, m_MaxPayloadSize - packet->payloadSize);
|
||||||
uint32_t packetNum = SendData (packet->payload, packet->payloadSize);
|
/*uint32_t packetNum = */SendData (packet->payload, packet->payloadSize);
|
||||||
packet->sendTime = mts;
|
// for some reason Bob never ack this RelayResponse
|
||||||
m_SentPackets.emplace (packetNum, packet);
|
// TODO: unccomend line below once the problem is resolved
|
||||||
|
//packet->sendTime = mts;
|
||||||
|
//m_SentPackets.emplace (packetNum, packet);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SSU2Session::HandleRelayResponse (const uint8_t * buf, size_t len)
|
void SSU2Session::HandleRelayResponse (const uint8_t * buf, size_t len)
|
||||||
|
|
Loading…
Reference in a new issue