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

Update spec to reflect record-layer-like header #3

Open
zanebeckwith opened this issue Aug 11, 2017 · 1 comment
Open

Update spec to reflect record-layer-like header #3

zanebeckwith opened this issue Aug 11, 2017 · 1 comment
Assignees
Milestone

Comments

@zanebeckwith
Copy link
Contributor

We want to use a constant header format for all messages (both handshake and session), to both ease parsing and allow for long-message framing.

This means the header should include the total-packet-length in a static location (to ease parsing), even for handshake messages whose structure and length are known.

It should also include framing info (e.g. frame number, total frame count). Cf. the (D)TLS specs for inspiration.

@zanebeckwith zanebeckwith self-assigned this Aug 11, 2017
@zanebeckwith zanebeckwith added this to the v1.0 milestone Aug 11, 2017
@zanebeckwith
Copy link
Contributor Author

The spec now does use a common header format, that has the total length in a static location, for all message types.

However, the framing information question has not been resolved. That should probably be a session-only field(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant