Make Packet Number a standard varint, with no inference #1502
Labels
-transport
design
An issue that affects the design of the protocol; resolution requires consensus.
has-consensus
An issue that the Chairs have determined has consensus, by canvassing the mailing list.
Now that packet numbers start at 0, I am not sure there is a ton of value in truncating these numbers. There are some advantages to making it a standard 1 to 8 byte-varint:
I assert that the fraction of connections that will need 64-bit packet numbers will be exceedingly small. There are probably very minor bit-efficiency issues (connections with 255-64K packets sent at a relatively low rate, etc), but these pale in comparison to the bytes we've put into variable length CIDs, etc.
We already encoding the PN this way in the Largest_acked field of the ACK frame, so I believe the same principles should apply.
If people agree with this assessment, I'll drop a PR.
The text was updated successfully, but these errors were encountered: