Skip to content

Conversation

apolcyn
Copy link
Contributor

@apolcyn apolcyn commented Apr 5, 2017

this is a follow-up to #1076 and a tentative bug fix

WIP on tests to show this, but I'm pretty certain there's room for an "over-read" of flow control right now, in the case that padding is used and a frame is received after stream state switches to "done" (connection
then reads (total_frame_size - data_length) + total_frame_size (where total_frame_size - data_length is length of "padding section" in data frame

Copy link
Contributor

@menghanl menghanl left a comment

Choose a reason for hiding this comment

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

LGTM

@menghanl menghanl assigned apolcyn and unassigned menghanl May 10, 2017
@apolcyn apolcyn merged commit 4013f8d into grpc:master May 10, 2017
@menghanl menghanl added the 1.4 label Jun 7, 2017
@menghanl menghanl changed the title tentative fix to a possible over-read from flow control fix a possible over-read from flow control Jun 7, 2017
@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants