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: remove support for binary protobuf payloads in the HTTP endpoints #58657

Merged
merged 1 commit into from
Jan 11, 2021

Conversation

knz
Copy link
Contributor

@knz knz commented Jan 8, 2021

For a couple of releases we've only ever used JSON over the HTTP
protocol. There is no need to support the binary protobuf encoding.

This patch removes that option, which also reduces the opportunity for
bugs in protobuf to be exploited.

Release note: None

@knz knz requested review from bdarnell and aaron-crl January 8, 2021 17:28
@knz knz requested a review from a team as a code owner January 8, 2021 17:28
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@knz knz force-pushed the 20200108-server-proto branch from f7435ff to 58f637a Compare January 8, 2021 17:30
…ints

For a couple of releases we've only ever used JSON over the HTTP
protocol. There is no need to support the binary protobuf encoding.

This patch removes that option, which also reduces the opportunity for
bugs in protobuf to be exploited.

Release note: None
@knz knz force-pushed the 20200108-server-proto branch from 58f637a to c5eae6a Compare January 8, 2021 18:03
@knz
Copy link
Contributor Author

knz commented Jan 8, 2021

@aaron-crl suggests this should be backported. Will consider after the PR is reviewed.

@knz knz requested a review from tbg January 11, 2021 09:29
Copy link
Member

@tbg tbg left a comment

Choose a reason for hiding this comment

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

Looks good to me. I am also not aware of any uses of this.

@knz
Copy link
Contributor Author

knz commented Jan 11, 2021

bors r=tbg

@craig
Copy link
Contributor

craig bot commented Jan 11, 2021

Build succeeded:

@craig craig bot merged commit 6d7418c into cockroachdb:master Jan 11, 2021
@knz knz deleted the 20200108-server-proto branch January 11, 2021 10:34
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