mwitkow / grpc-proxy

gRPC proxy is a Go reverse proxy that allows for rich routing of gRPC calls with minimum overhead.
Apache License 2.0
962 stars 210 forks source link

Fix blocking problem caused by client reading header header #47

Open e421083458 opened 4 years ago

e421083458 commented 4 years ago

Because sometimes the client will read the header first it is necessary to advance the header data exchange to recv. https://github.com/grpc/grpc-go/blob/master/examples/features/metadata/client/main.go#L212