mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
correct buffer size for fragments of SessionConfirmed
This commit is contained in:
parent
f1d3d6a7b5
commit
0c34189d94
3 changed files with 21 additions and 12 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue