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 throwing with HTTP2 unknown settings frame id #2299

Merged
merged 1 commit into from
Jan 30, 2016

Conversation

NightlyNexus
Copy link
Contributor

Fixes #2282.

@NightlyNexus
Copy link
Contributor Author

Oops, forgot a test.

@JakeWharton
Copy link
Collaborator

Looks like there's already one that you can update: readSettingsFrameInvalidSettingId

@NightlyNexus
Copy link
Contributor Author

(I have no idea what I'm doing.)
Does this look at all reasonable?

@Override public void settings(boolean clearPrevious, Settings settings) {
assert settings.get(7) == 1;
}
});
} catch (IOException e) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

You can just drop this entire try/catch block

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.

3 participants