mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
variable retranmission window
This commit is contained in:
parent
8a6fe0f321
commit
fd41fba069
2 changed files with 15 additions and 2 deletions
|
@ -38,6 +38,7 @@ namespace transport
|
|||
const int SSU2_RESEND_INTERVAL = 3; // in seconds
|
||||
const int SSU2_MAX_NUM_RESENDS = 5;
|
||||
const int SSU2_INCOMPLETE_MESSAGES_CLEANUP_TIMEOUT = 30; // in seconds
|
||||
const size_t SSU2_MIN_WINDOW_SIZE = 8; // in packets
|
||||
const size_t SSU2_MAX_WINDOW_SIZE = 128; // in packets
|
||||
const size_t SSU2_MAX_OUTGOING_QUEUE_SIZE = 300; // in messages
|
||||
const int SSU2_MAX_NUM_ACK_RANGES = 32; // to send
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue