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;
|
return false;
|
||||||
}
|
}
|
||||||
HandlePayload (payload, len - 48);
|
HandlePayload (payload, len - 48);
|
||||||
|
m_IsDataReceived = false;
|
||||||
// connect to Charlie
|
// connect to Charlie
|
||||||
ConnectAfterIntroduction ();
|
ConnectAfterIntroduction ();
|
||||||
|
|
||||||
|
@ -3113,6 +3114,7 @@ namespace transport
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
HandlePayload (payload, len - 48);
|
HandlePayload (payload, len - 48);
|
||||||
|
SetIsDataReceived (false);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -282,6 +282,7 @@ namespace transport
|
||||||
RouterStatus GetRouterStatus () const;
|
RouterStatus GetRouterStatus () const;
|
||||||
void SetRouterStatus (RouterStatus status) const;
|
void SetRouterStatus (RouterStatus status) const;
|
||||||
size_t GetMaxPayloadSize () const { return m_MaxPayloadSize; }
|
size_t GetMaxPayloadSize () const { return m_MaxPayloadSize; }
|
||||||
|
void SetIsDataReceived (bool dataReceived) { m_IsDataReceived = dataReceived; };
|
||||||
|
|
||||||
uint64_t GetSourceConnID () const { return m_SourceConnID; }
|
uint64_t GetSourceConnID () const { return m_SourceConnID; }
|
||||||
void SetSourceConnID (uint64_t sourceConnID) { m_SourceConnID = sourceConnID; }
|
void SetSourceConnID (uint64_t sourceConnID) { m_SourceConnID = sourceConnID; }
|
||||||
|
|
Loading…
Reference in a new issue