forked from quic-go/quic-go
Merge pull request #1411 from lucas-clemente/min-initial-connid-len
drop Initial packets that have a too short Destination Connection ID
This commit is contained in:
@@ -151,3 +151,6 @@ const MinPacingDelay time.Duration = 100 * time.Microsecond
|
||||
// so we need to know this value in advance (or encode it into the connection ID).
|
||||
// TODO: make this configurable
|
||||
const ConnectionIDLen = 8
|
||||
|
||||
// MinConnectionIDLenInitial is the minimum length of the destination connection ID on an Initial packet.
|
||||
const MinConnectionIDLenInitial = 8
|
||||
|
||||
Reference in New Issue
Block a user