mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
request choking delay if too many NACKs. Drop window size to 1 if choking delay received
This commit is contained in:
parent
75df8d3c7b
commit
4f1cb74f75
2 changed files with 15 additions and 3 deletions
|
@ -66,6 +66,7 @@ namespace stream
|
|||
const size_t MAX_PENDING_INCOMING_BACKLOG = 128;
|
||||
const int PENDING_INCOMING_TIMEOUT = 10; // in seconds
|
||||
const int MAX_RECEIVE_TIMEOUT = 20; // in seconds
|
||||
const uint16_t DELAY_CHOKING = 60000; // in milliseconds
|
||||
|
||||
struct Packet
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue