I'm writing a proxy which is put between a gRPC client and a server, which 
need to implement a bidirectional streaming RPC.

Problem is that reading the client stream can only be cancelled with 
context->TryCancel(). And this will make the RPC return status CANCELLED 
(in the client) regardless of what actually is returned in the server RPC 
itself.

Any idea on how to interrupt the stream->Read(...) call without 
TryCancel()? Is it possible to have a polled Read of the stream, so I can 
monitor and interrupt the RPC call?

Regards
/R

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/bacde999-f2e4-4190-9078-6b13b0f76521n%40googlegroups.com.

Reply via email to