forked from quic-go/quic-go
pack smaller packets as long as the encryption is not forward secure
This commit is contained in:
@@ -2,6 +2,10 @@ package protocol
|
||||
|
||||
import "time"
|
||||
|
||||
// NonForwardSecurePacketSizeReduction is the number of bytes a non forward-secure packet has to be smaller than a forward-secure packet
|
||||
// This makes sure that those packets can always be retransmitted without splitting the contained StreamFrames
|
||||
const NonForwardSecurePacketSizeReduction = 50
|
||||
|
||||
// DefaultMaxCongestionWindow is the default for the max congestion window
|
||||
const DefaultMaxCongestionWindow = 1000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user