Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Payload length zero = "to end of UDP packet" #1338

Closed
larseggert opened this issue May 4, 2018 · 2 comments
Closed

Payload length zero = "to end of UDP packet" #1338

larseggert opened this issue May 4, 2018 · 2 comments
Labels
invalid A duplicate, overcome-by-events, ill-formed, or off-topic issue, or a question better asked on-list.

Comments

@larseggert
Copy link
Member

Is there any reason why an encoding for the payload length wasn't chosen that would allow something like setting it to zero mean "QUIC packet extends to end of UDP packet"?

That would make it more straightforward to encode non-coalesced long-header packets, where the payload length may not be known by the time the packet header is being encoded.

@kazuho
Copy link
Member

kazuho commented May 4, 2018

I think it is discussed in #1301.

@larseggert
Copy link
Member Author

Thanks, I searched but missed that issue

@mnot mnot added the invalid A duplicate, overcome-by-events, ill-formed, or off-topic issue, or a question better asked on-list. label Mar 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid A duplicate, overcome-by-events, ill-formed, or off-topic issue, or a question better asked on-list.
Projects
None yet
Development

No branches or pull requests

3 participants