You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "AstarLight (via GitHub)" <gi...@apache.org> on 2023/04/17 16:16:04 UTC

[GitHub] [apisix] AstarLight commented on a diff in pull request #9312: fix:grpc_set_header Te trailers

AstarLight commented on code in PR #9312:
URL: https://github.com/apache/apisix/pull/9312#discussion_r1168976655


##########
apisix/cli/ngx_tpl.lua:
##########
@@ -766,6 +766,7 @@ http {
             grpc_set_header   "Host" $upstream_host;
             {% end %}
             grpc_set_header   Content-Type application/grpc;
+            grpc_set_header   Te trailers;

Review Comment:
   grpc-message: Missing :te header
   
   This error is responsed by grpc server, not client. If not set this header, no request can received by grpc server.
   
   see that :  https://github.com/grpc/grpc/blob/master/src/core/ext/filters/http/server/http_server_filter.cc#L93



-- 
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: notifications-unsubscribe@apisix.apache.org

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