increase packet queue size to work around #304

This commit is contained in:
Lucas Clemente
2016-08-24 21:19:52 +02:00
parent eabd38238a
commit 90401a2ec1

View File

@@ -49,7 +49,7 @@ const MaxNewStreamIDDelta = 4 * MaxStreamsPerConnection
const MaxIdleConnectionStateLifetime = 60 * time.Second const MaxIdleConnectionStateLifetime = 60 * time.Second
// MaxSessionUnprocessedPackets is the max number of packets stored in each session that are not yet processed. // MaxSessionUnprocessedPackets is the max number of packets stored in each session that are not yet processed.
const MaxSessionUnprocessedPackets = 128 const MaxSessionUnprocessedPackets = 2000
// RetransmissionThreshold + 1 is the number of times a packet has to be NACKed so that it gets retransmitted // RetransmissionThreshold + 1 is the number of times a packet has to be NACKed so that it gets retransmitted
const RetransmissionThreshold = 3 const RetransmissionThreshold = 3