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

server: add ServerOption HeaderTableSize #2931

Merged
merged 2 commits into from Oct 3, 2019
Merged

Conversation

MoZhonghua
Copy link
Contributor

@MoZhonghua MoZhonghua commented Jul 24, 2019

Fixes #2910

@thelinuxfoundation
Copy link

Thank you for your pull request. Before we can look at your contribution, we need to ensure all contributors are covered by a Contributor License Agreement.

After the following items are addressed, please respond with a new comment here, and the automated system will re-verify.

Regards,
CLA GitHub bot

@MoZhonghua
Copy link
Contributor Author

CLA

@dfawley dfawley changed the title server: add ServerOption HeaderTableSize (#2910) server: add ServerOption HeaderTableSize Aug 1, 2019
@dfawley dfawley self-requested a review August 1, 2019 20:18
@dfawley dfawley self-assigned this Aug 1, 2019
Copy link
Member

@dfawley dfawley left a comment

Choose a reason for hiding this comment

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

Sorry for the delay. This PR looks fine, but please add a comment marking the new API as experimental.

@@ -377,6 +378,14 @@ func MaxHeaderListSize(s uint32) ServerOption {
})
}

// HeaderTableSize returns a ServerOption that sets the size of dynamic
// header table for stream.
Copy link
Member

Choose a reason for hiding this comment

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

Please add a comment marking this as experimental until we are comfortable with the API:

// .....
//
// This API is EXPERIMENTAL

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Copy link
Member

@dfawley dfawley left a comment

Choose a reason for hiding this comment

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

Thank you for the contribution!

@dfawley dfawley added this to the 1.25 Release milestone Oct 3, 2019
@dfawley dfawley merged commit fb2e5cd into grpc:master Oct 3, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Apr 2, 2020
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.

expose http SETTINGS_HEADER_TABLE_SIZE option to user
3 participants