You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Panicking should be avoided if at all possible. SetHeader and SendHeader could return errors. Unfortunately, grpc's ServerStream.SetTrailer doesn't return an error. In this case, one other option would be to make the transport force the stream to result in an error with an error message indicating that the server attempted to send malformed metadata.
What version of gRPC are you using?
master (no vendoring)
libprotoc 3.2.0
What version of Go are you using (
go version
)?go version go1.9.2 windows/amd64
What did you do?
What did you expect to see?
This should panic because it violates the HTTP protocol.
What did you see instead?
This didn't panic and sent non compliant response out.
The text was updated successfully, but these errors were encountered: