moq-wg / moq-transport

draft-ietf-moq-transport
Other
87 stars 22 forks source link

Why does OBJECT_DATAGRAM have a length? #552

Open afrind opened 2 months ago

afrind commented 2 months ago

In previous drafts, the payload ran to the end of the transport datagram. This length adds 1 or 2 bytes, and creates error conditions.

ianswett commented 1 month ago

I believe this was an error, and not intentional?

afrind commented 1 month ago

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.

fluffy commented 1 month ago

@suhasHere thoughts ????

fluffy commented 1 month ago

Seems like it might have just been oversight to add this.