You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2022/09/15 07:10:17 UTC

[GitHub] [incubator-brpc] wwbmmm commented on a diff in pull request #1924: fix a typo in grpc protocol

wwbmmm commented on code in PR #1924:
URL: https://github.com/apache/incubator-brpc/pull/1924#discussion_r971608932


##########
src/brpc/policy/http_rpc_protocol.cpp:
##########
@@ -1457,7 +1457,7 @@ void ProcessHttpRequest(InputMessageBase *msg) {
                 if (is_grpc_ct) {
                     bool grpc_compressed = false;
                     if (!RemoveGrpcPrefix(&req_body, &grpc_compressed)) {
-                        cntl->SetFailed(ERESPONSE, "Invalid gRPC response");
+                        cntl->SetFailed(ERESPONSE, "Invalid gRPC request");

Review Comment:
   ERESPONSE是不是也改成EREQUEST



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org