Skip to content

grpc: rework the window size settings to apply on the server#4030

Closed
demmer wants to merge 1 commit intovitessio:masterfrom
tinyspeck:grpc-server-window-settings
Closed

grpc: rework the window size settings to apply on the server#4030
demmer wants to merge 1 commit intovitessio:masterfrom
tinyspeck:grpc-server-window-settings

Conversation

@demmer
Copy link
Copy Markdown
Member

@demmer demmer commented Jun 15, 2018

In addition to setting the initial conn window / initial window size settings on the grpc client side, also set the corresponding options for the server side.

I noticed when using wireshark to inspect the traffic going back and forth, that the GRPC settings need to be applied on both the client and server side so that the flow control is applied to accepted connections as well as those initiated outbound.

In addition to setting the initial conn window / initial window
size settings on the grpc client side, also set the corresponding
options for the server side.

Signed-off-by: Michael Demmer <mdemmer@slack-corp.com>
@demmer demmer requested a review from rafael June 15, 2018 21:56
@rafael
Copy link
Copy Markdown
Member

rafael commented Jun 16, 2018

LGTM +1

Is there any world where someone might want different settings for server and client? I was taking that approach before I left, but I'm not sure if it really matters.

@demmer
Copy link
Copy Markdown
Member Author

demmer commented Jun 20, 2018

#4037 is the better approach

@demmer demmer closed this Jun 20, 2018
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.

2 participants