mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
Streaming MTU size 1812 for ECIESX25519AEADRatchet
This commit is contained in:
parent
7b418b3adf
commit
c7c6e5917a
2 changed files with 13 additions and 5 deletions
|
@ -41,6 +41,7 @@ namespace stream
|
|||
const uint16_t PACKET_FLAG_OFFLINE_SIGNATURE = 0x0800;
|
||||
|
||||
const size_t STREAMING_MTU = 1730;
|
||||
const size_t STREAMING_MTU_RATCHETS = 1812;
|
||||
const size_t MAX_PACKET_SIZE = 4096;
|
||||
const size_t COMPRESSION_THRESHOLD_SIZE = 66;
|
||||
const int MAX_NUM_RESEND_ATTEMPTS = 6;
|
||||
|
@ -234,6 +235,7 @@ namespace stream
|
|||
int m_WindowSize, m_RTT, m_RTO, m_AckDelay;
|
||||
uint64_t m_LastWindowSizeIncreaseTime;
|
||||
int m_NumResendAttempts;
|
||||
size_t m_MTU;
|
||||
};
|
||||
|
||||
class StreamingDestination: public std::enable_shared_from_this<StreamingDestination>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue