[3.0]Fixed grpc server StatsCode and serializeMessage#5036
Merged
limingxinleo merged 11 commits intohyperf:masterfrom Aug 19, 2022
Merged
[3.0]Fixed grpc server StatsCode and serializeMessage#5036limingxinleo merged 11 commits intohyperf:masterfrom
limingxinleo merged 11 commits intohyperf:masterfrom
Conversation
Contributor
Author
Contributor
Author
|
throw new GrpcException('test', 10); rpc error: code = Aborted desc = testhttp code 400 rpc error: code = Internal desc = unexpected HTTP status code received from server: 400 (Bad Request)http code 500 rpc error: code = Unknown desc = unexpected HTTP status code received from server: 500 (Internal Server Error) |
Contributor
Author
|
http 与 gRPC 的状态转换 应该在客户端处理 |
Contributor
Author
|
客户端的异常处理我也在尝试修到另一个 PR 里 |
PandaLIU-1111
previously approved these changes
Aug 19, 2022
limingxinleo
requested changes
Aug 19, 2022
limingxinleo
approved these changes
Aug 19, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://github.com/grpc/grpc/blob/master/doc/statuscodes.md
https://github.com/grpc/grpc/blob/master/doc/http-grpc-status-mapping.md