grpc-proxy icon indicating copy to clipboard operation
grpc-proxy copied to clipboard

Fix propagation of headers with grpc server errors

Open technicianted opened this issue 5 years ago • 2 comments

Current implementation does not propagate headers if grpc error is returned.

This PR fixes ordering of header forwarding in handler.go such that it carries headers even if there was an error.

Relevant unit tests added for unary and streaming calls.

technicianted avatar Sep 19 '19 23:09 technicianted

God, I did the same thing

e421083458 avatar Mar 22 '20 12:03 e421083458

@e421083458 feel free to use my fork

technicianted avatar Mar 22 '20 16:03 technicianted