mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-03 20:27:35 +03:00
reject invalid active_connection_id_limit transport parameter values (#3687)
This commit is contained in:
parent
89769f409f
commit
3d9380ec3c
6 changed files with 54 additions and 28 deletions
|
@ -38,7 +38,7 @@ func main() {
|
|||
MaxUniStreamNum: protocol.StreamNum(getRandomValue()),
|
||||
MaxBidiStreamNum: protocol.StreamNum(getRandomValue()),
|
||||
MaxIdleTimeout: time.Duration(getRandomValue()),
|
||||
ActiveConnectionIDLimit: getRandomValue(),
|
||||
ActiveConnectionIDLimit: getRandomValue() + 2,
|
||||
}
|
||||
if rand.Int()%2 == 0 {
|
||||
tp.OriginalDestinationConnectionID = protocol.ParseConnectionID(getRandomData(rand.Intn(21)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue