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
Refer to all header octets by number #651
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two small suggestions.
draft-ietf-quic-transport.md
Outdated
@@ -461,24 +461,24 @@ This header form has the following fields: | |||
|
|||
Header Form: | |||
|
|||
: The most significant bit (0x80) of the first octet of a packet is the header | |||
: The most significant bit (0x80) of the octet 0 of a packet is the header |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This text is a bit redundant to the "Header Form" section above, and the sentence is a bit awkward. Can you just say "The most significant bit (0x80) of octet 0 is set to 0 for the short header."?
draft-ietf-quic-transport.md
Outdated
form. This bit is set to 0 for the short header. | ||
|
||
Connection ID Flag: | ||
|
||
: The second bit (0x40) of the first octet indicates whether the Connection ID | ||
: The second bit (0x40) of the octet 0 indicates whether the Connection ID |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: I'd change "the octet 0" to "octet 0", here and below.
2ad5aeb
to
7ac6523
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One more nit, but looks good.
draft-ietf-quic-transport.md
Outdated
|
||
Long Packet Type: | ||
|
||
: The remaining seven bits of first octet of a long packet is the packet type. | ||
This field can indicate one of 128 packet types. The types specified for this | ||
: The remaining seven bits of octet 0 of a long packet is the packet type. This |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: is => are?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think "of a long packet" is redundant given "Long Packet Type:" is the title as well, and it makes the sentence a bit awkward.
e135688
to
d325ebe
Compare
Closes #580