forked from quic-go/quic-go
According to the IETF draft, the only packet number lengths are 1, 2 and 4 bytes. With the given formula for the packet number derivation, we would have only sent a 6 byte packet number if the difference between the largest unacked and the current packet number exceeded 2^31, so this would never have happened anyway.
1.7 KiB
1.7 KiB