mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 13:27:17 +01:00
never send Ack to HolePunch and PeerTest messages
This commit is contained in:
parent
98e93468a6
commit
e1e530b4a9
|
@ -1420,6 +1420,7 @@ namespace transport
|
|||
return false;
|
||||
}
|
||||
HandlePayload (payload, len - 48);
|
||||
m_IsDataReceived = false;
|
||||
// connect to Charlie
|
||||
ConnectAfterIntroduction ();
|
||||
|
||||
|
@ -3113,6 +3114,7 @@ namespace transport
|
|||
return false;
|
||||
}
|
||||
HandlePayload (payload, len - 48);
|
||||
SetIsDataReceived (false);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -282,6 +282,7 @@ namespace transport
|
|||
RouterStatus GetRouterStatus () const;
|
||||
void SetRouterStatus (RouterStatus status) const;
|
||||
size_t GetMaxPayloadSize () const { return m_MaxPayloadSize; }
|
||||
void SetIsDataReceived (bool dataReceived) { m_IsDataReceived = dataReceived; };
|
||||
|
||||
uint64_t GetSourceConnID () const { return m_SourceConnID; }
|
||||
void SetSourceConnID (uint64_t sourceConnID) { m_SourceConnID = sourceConnID; }
|
||||
|
|
Loading…
Reference in a new issue