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

Ensure discarded HTTP/2 data frames free flow-control space. #4033

Merged
merged 1 commit into from
May 30, 2018

Conversation

dave-r12
Copy link
Collaborator

Copy link
Collaborator

@yschimke yschimke left a comment

Choose a reason for hiding this comment

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

Makes logical sense to me. And seems to match previous assumption about when things affect flow control.

Copy link
Collaborator

@swankjesse swankjesse left a comment

Choose a reason for hiding this comment

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

This is fantastic.

InFrame frame3 = peer.takeFrame();
assertEquals(Http2.TYPE_RST_STREAM, frame3.type);

assertEquals(2048, connection.unacknowledgedBytesRead);
Copy link
Collaborator

Choose a reason for hiding this comment

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

nice test

@swankjesse swankjesse merged commit f9cef65 into master May 30, 2018
swankjesse pushed a commit that referenced this pull request May 30, 2018
* based2-patch-1:
  Ensure discarded HTTP/2 data frames free flow-control space. (#4033)
  Use header delay instead of body delay before status line (#4011)
  update maven plugins and apache.httpcomponents/httpclient to 4.2.6
swankjesse pushed a commit that referenced this pull request May 30, 2018
* based2-patch-1:
  Ensure discarded HTTP/2 data frames free flow-control space. (#4033)
  Use header delay instead of body delay before status line (#4011)
  update maven plugins and apache.httpcomponents/httpclient to 4.2.6
swankjesse pushed a commit that referenced this pull request May 30, 2018
* based2-patch-1:
  Ensure discarded HTTP/2 data frames free flow-control space. (#4033)
  Use header delay instead of body delay before status line (#4011)
  update maven plugins and apache.httpcomponents/httpclient to 4.2.6
@JakeWharton JakeWharton deleted the http2-discarded-data-frames branch June 12, 2018 20:54
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