mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
never send Ack to HolePunch and PeerTest messages
This commit is contained in:
@@ -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; }
|
||||||
|
|||||||
Reference in New Issue
Block a user