mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-05-25 08:35:35 +02:00
drop messages to other router coming down an inbound tunnel
This commit is contained in:
parent
b02c777390
commit
4de9ed80af
4 changed files with 29 additions and 4 deletions
|
@ -20,7 +20,7 @@ namespace tunnel
|
|||
|
||||
public:
|
||||
|
||||
TunnelEndpoint (): m_NumReceivedBytes (0) {};
|
||||
TunnelEndpoint (bool isInbound): m_IsInbound (isInbound), m_NumReceivedBytes (0) {};
|
||||
~TunnelEndpoint ();
|
||||
size_t GetNumReceivedBytes () const { return m_NumReceivedBytes; };
|
||||
|
||||
|
@ -34,6 +34,7 @@ namespace tunnel
|
|||
private:
|
||||
|
||||
std::map<uint32_t, TunnelMessageBlockEx> m_IncompleteMessages;
|
||||
bool m_IsInbound;
|
||||
size_t m_NumReceivedBytes;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue