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

Fixed parsing issue in the decoder when maxHeaderTableSizeChangeRequired... #21

Closed
wants to merge 1 commit into from

Conversation

thomdev-zz
Copy link

When "max header table size" is set, the first byte is typically 0x3f (0x20 | 0x1f), assuming the new value needs more than 5 bits. The test in incorrect, and the "max header table size change required" exception gets thrown when it should not. This causes some issues in netty 4.1+ when the server sets the max header table size in settings.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 85.71% when pulling 4cb2291 on thomdev:master into f09d9f6 on twitter:master.

jpinner pushed a commit that referenced this pull request Feb 24, 2015
@jpinner
Copy link
Collaborator

jpinner commented Feb 24, 2015

Uncovered a second bug in when updating the header table capacity. Both fixed in 9b2441f.

@jpinner jpinner closed this Feb 24, 2015
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

Successfully merging this pull request may close these issues.

4 participants