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

Modify codepoints on decoder and request/push streams for consistency #1472

Merged
merged 2 commits into from Jun 26, 2018

Conversation

afrind
Copy link
Contributor

@afrind afrind commented Jun 22, 2018

The prefix lengths remain the same but the instruction bits now follow the rule that each instruction has at most one '1' bit.

Fixes #1471

The prefix lengths remain the same but the instruction bits now follow the rule that each instruction has at most one '1' bit.

Fixes #1471
two-bit pattern. If the entry is in the dynamic table with an absolute index
greater than Base Index, the representation starts with the '0101' four-bit
greater than Base Index, the representation starts with the '0000' four-bit
pattern.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is fine, but didn't we separate out the Post-Base things to their own headers? Did we miss one?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It has its own section but the normative text is in this section.

Copy link
Member

@martinthomson martinthomson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More changes. Interop gets that much further away.

@afrind
Copy link
Contributor Author

afrind commented Jun 25, 2018

I'm not concerned about this change delaying interop dramatically. Implicit acks landed last week and was a bigger change.

This is somewhat superficial, but we're changing it anyways so bear with me.  HEADER_ACK and STREAM_CANCEL are almost identical, so code processing them should be next to each other.  By swapping TSS and Stream Cancel codepoints, the processing code might be more readable.
@afrind afrind merged commit 7583103 into master Jun 26, 2018
facebook-github-bot pushed a commit to facebook/proxygen that referenced this pull request Jun 26, 2018
Summary: quicwg/base-drafts#1472

Reviewed By: mjoras

Differential Revision: D8641256

fbshipit-source-id: b87f8d30d948e23548638675c1a8afb627e8f610
@MikeBishop
Copy link
Contributor

@martinthomson, that's perhaps technically true, but I don't think this pushes out interop noticeably. The bit sequences are the same length they previously were, and were always arbitrary bit sequences. This should be a trivial change to incorporate.

@martinthomson martinthomson deleted the qpack-codepoints branch June 27, 2018 02:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

QPACK instruction code points are inconsistent
3 participants