shreemaan-abhishek commented on code in PR #11936: URL: https://github.com/apache/apisix/pull/11936#discussion_r1944930298
########## t/node/grpc-proxy.t: ########## @@ -188,7 +188,7 @@ routes: GET /hello --- error_code: 502 --- error_log -upstream: "grpc://127.0.0.1:80" +connect() failed (111: Connection refused) while connecting to upstream Review Comment: this change is needed as grpc proxy is done under subrequest, and the apisix custom logger (in apisix-nginx-module) overrides the original log handler of nginx and stores the reference to the original log handler in ctx. but `ngx_stash_ctx` fails to store reference to that log handler. Thus the original log handler doesn't get executed and the `upstream: "grpc: ..."` field in error log is not present. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
