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

Fix: relative indices cannot be used with static table #1543

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 4 additions & 3 deletions draft-ietf-quic-qpack.md
Expand Up @@ -438,9 +438,10 @@ instructions.
An addition to the header table where the header field name matches the header
field name of an entry stored in the static table or the dynamic table starts
with the '1' one-bit pattern. The `S` bit indicates whether the reference is to
the static (S=1) or dynamic (S=0) table. The header field name is represented
using the relative index of that entry, which is represented as an integer with
a 6-bit prefix (see Section 5.1 of [RFC7541]).
the static (S=1) or dynamic (S=0) table. The 6-bit prefix integer (see Section 5.1
of [RFC7541]) that follows is used to locate the table entry for the header name.
When S=1, the number represents the static table index; when S=0, the number is
the relative index of the entry in the dynamic table.

The header name reference is followed by the header field value represented as a
string literal (see Section 5.2 of [RFC7541]).
Expand Down