grpc-dotnet-namedpipes icon indicating copy to clipboard operation
grpc-dotnet-namedpipes copied to clipboard

Add serverside resilience for client disconnect during server streaming response

Open zachrybaker opened this issue 7 months ago • 1 comments

With 3.0, in a server streaming response, if the client leaves while the response stream is open, an uncaught RPC exception.

throw new RpcException(new Status(StatusCode.Unavailable, "connection was unexpectedly terminated"));

It would be nice if the writer didn't have to wrap each write in a try/catch.

zachrybaker avatar Jul 11 '24 21:07 zachrybaker