gRPC of handling of a stream ended in malformed gRPC message

45 views
Skip to first unread message

Harie Amjari

unread,
Jul 21, 2024, 10:04:49 PM7/21/24
to grpc.io
Let's say a client and a server has both setup a streaming rpc.

A client has sent up about 3 valid grpc message and the server acknowledge this with a headers frame and started processing the grpc message.

The client then sent a truncated grpc message with END_STREAM (or malformed protobuf).

Does the server cancels the processing of the received 3 grpc message and immediately send a DATA_LOSS trailer?
or continues the processing of the messages and send its response with DATA_LOSS trailer?
Reply all
Reply to author
Forward
0 new messages