Re: [grpc-io] Re: serverCallStreamObserver.isCancelled() cannot detect client disconnection for gRPC version higher than 1.41.0

2022-04-18 Thread 'Wen Bo (Bill) Li' via grpc.io
Okay, thanks. It looks like Context is more generic in client disconnecting from the server compared to ServerCall. In this case, I will use Context for our service. On Monday, April 18, 2022 at 10:53:27 AM UTC-4 Eric Anderson wrote: > On Fri, Apr 15, 2022 at 10:09 PM 'Wen Bo (Bill)

Re: [grpc-io] Re: serverCallStreamObserver.isCancelled() cannot detect client disconnection for gRPC version higher than 1.41.0

2022-04-15 Thread 'Wen Bo (Bill) Li' via grpc.io
Sure, I wouldn't mind creating an issue on github and here is the link: https://github.com/grpc/grpc-java/issues/9087 I have tested the code with the suggestion you provided above and it works. Based on the description you provided above, the design of setting the cancelled flag is not finalize