forked from quic-go/quic-go
Merge pull request #2534 from lucas-clemente/reduce-unprocessed-packet-chan-length
reduce the length of the unprocessed packet chan in the session
This commit is contained in:
@@ -43,7 +43,7 @@ const DefaultMaxIncomingUniStreams = 100
|
|||||||
const MaxServerUnprocessedPackets = 1024
|
const MaxServerUnprocessedPackets = 1024
|
||||||
|
|
||||||
// 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 = MaxCongestionWindowPackets
|
const MaxSessionUnprocessedPackets = 256
|
||||||
|
|
||||||
// SkipPacketAveragePeriodLength is the average period length in which one packet number is skipped to prevent an Optimistic ACK attack
|
// SkipPacketAveragePeriodLength is the average period length in which one packet number is skipped to prevent an Optimistic ACK attack
|
||||||
const SkipPacketAveragePeriodLength PacketNumber = 500
|
const SkipPacketAveragePeriodLength PacketNumber = 500
|
||||||
|
|||||||
Reference in New Issue
Block a user