Hi,
I have a question about the behavior of gRPC C++ async; If the call data is deleted in the middle of a call, for example, in a server streaming call, where call data is:
struct CallData {
grpc::ServerContext ctx;
RpcRequest request;
grpc::ServerAsyncWriter<RpcResponse> response_writer;
}
Is the behavor defined if this call data is deleted before calling response_writer.Finish(...) and receiving the returned tag. Ie. the from a previous call to response_writer.Write(...) was returned, but before invoking Finish(), the CallData is deleted. My assumption is that the call would be cancelled and the client would receive an error. But should we expect to see gRPC assertion failures on the server side during cleanup, or should the server still be able to process additional requests, and shutdown cleanly?
Thanks!
Nick