Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Framing support for realtime network messages #1972
If we don't want to expend extension bits, we could maybe retrofit max version to be a count field, since it's not used and doesn't seem useful in the future either. We could then define a count of 0xff to mean "the rest of the count bits follows the header" if we need larger payloads in the future.
A new message type to mean "tcp envelope" was also discussed at some point (the payload would be the old header+message), but that probably means too many changes.