Open afrind opened 2 months ago
I believe this was an error, and not intentional?
The current function of length is that if it is 0, then Status is present and payload is not, which is also how it works in streams. So there's a tradeoff of having it be similar to other object encodings, vs not having a length and accomplishing the flag behavior a different way.
@suhasHere thoughts ????
Seems like it might have just been oversight to add this.
In previous drafts, the payload ran to the end of the transport datagram. This length adds 1 or 2 bytes, and creates error conditions.