mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
correct buffer size for fragments of SessionConfirmed
This commit is contained in:
@@ -190,10 +190,13 @@ namespace transport
|
||||
int numResends = 0;
|
||||
};
|
||||
|
||||
struct HandshakePacket: public SentPacket
|
||||
struct HandshakePacket
|
||||
{
|
||||
Header header;
|
||||
uint8_t headerX[48]; // part1 for SessionConfirmed
|
||||
uint8_t payload[SSU2_MAX_PACKET_SIZE*2];
|
||||
size_t payloadSize = 0;
|
||||
uint32_t nextResendTime = 0; // in seconds
|
||||
};
|
||||
|
||||
typedef std::function<void ()> OnEstablished;
|
||||
|
||||
Reference in New Issue
Block a user