move the RetransmissionThreshold to the server parameters

This commit is contained in:
Marten Seemann
2016-05-22 23:45:09 +07:00
parent 33de224ce0
commit f33058c504
3 changed files with 52 additions and 38 deletions

View File

@@ -45,3 +45,6 @@ const WindowUpdateNumRepitions uint8 = 2
// MaxSessionUnprocessedPackets is the max number of packets stored in each session that are not yet processed.
const MaxSessionUnprocessedPackets = 128
// RetransmissionThreshold + 1 is the number of times a packet has to be NACKed so that it gets retransmitted
const RetransmissionThreshold uint8 = 3