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

Support parse proto-text format http request body #1690

Merged
merged 4 commits into from
Feb 18, 2022

Conversation

hiberabyss
Copy link
Contributor

No description provided.

src/brpc/policy/http_rpc_protocol.cpp Outdated Show resolved Hide resolved
src/brpc/policy/http_rpc_protocol.cpp Outdated Show resolved Hide resolved
src/brpc/policy/http_rpc_protocol.cpp Outdated Show resolved Hide resolved
@wwbmmm
Copy link
Contributor

wwbmmm commented Feb 7, 2022

@hiberabyss Thanks for your contribution! Can you add some unit test for this feature?

@hiberabyss
Copy link
Contributor Author

@hiberabyss Thanks for your contribution! Can you add some unit test for this feature?

It's a little complicated to run test on M1 macOS, could this MR be merged first? Have tested this with my own service.

@wwbmmm
Copy link
Contributor

wwbmmm commented Feb 8, 2022

It's a little complicated to run test on M1 macOS

brpc has not support M1 macOS yet, you can test it on a linux device. You can follow the compiling and testing guide here: https://github.com/apache/incubator-brpc/blob/master/docs/cn/getting_started.md

@hiberabyss
Copy link
Contributor Author

@hiberabyss Thanks for your contribution! Can you add some unit test for this feature?

FYI, add some ut for proto-text.

@hiberabyss
Copy link
Contributor Author

@wwbmmm Could you have a look of this?

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.

None yet

2 participants