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

Reference to static table entry cannot use relative index #1538

Closed
dtikhonov opened this issue Jul 8, 2018 · 2 comments
Closed

Reference to static table entry cannot use relative index #1538

dtikhonov opened this issue Jul 8, 2018 · 2 comments
Labels
-qpack editorial An issue that does not affect the design of the protocol; does not require consensus.

Comments

@dtikhonov
Copy link
Member

QPACK Section 5.2.1 states:

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]).

Relative indexes are defined in Section 2.2.1 only in the context of the dynamic table. The wording above is not clear how relative indexes are to be used with the static table.

Is the intent here to say that when S=0, relative index is used and when S=1, the index is the static entry's index?

@afrind
Copy link
Contributor

afrind commented Jul 10, 2018

Is the intent here to say that when S=0, relative index is used and when S=1, the index is the static entry's index?

Yes, that's the intent.

@afrind afrind added editorial An issue that does not affect the design of the protocol; does not require consensus. -qpack labels Jul 10, 2018
@dtikhonov
Copy link
Member Author

Fixed now that PR #1543 has been merged. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-qpack editorial An issue that does not affect the design of the protocol; does not require consensus.
Projects
None yet
Development

No branches or pull requests

2 participants