mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-29 04:07:49 +02:00
check if session is terminated before receive
This commit is contained in:
parent
417b5ed6cc
commit
da94d40738
2 changed files with 18 additions and 9 deletions
|
@ -179,7 +179,7 @@ namespace client
|
|||
|
||||
I2CPServer& m_Owner;
|
||||
std::shared_ptr<proto::socket> m_Socket;
|
||||
uint8_t m_Header[I2CP_HEADER_SIZE], * m_Payload;
|
||||
uint8_t m_Header[I2CP_HEADER_SIZE], m_Payload[I2CP_MAX_MESSAGE_LENGTH];
|
||||
size_t m_PayloadLen;
|
||||
|
||||
std::shared_ptr<I2CPDestination> m_Destination;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue