mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
drop messages to other router coming down an inbound tunnel
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user