Re: [grpc-io] gRPC Cancellation Token

2023-09-25 Thread Ahmet Yılmaz
hello again, What I'm really curious about is that when I use the context.IsCanceled() method in the asynchronous server stream application to receive the cancel request on the server side, not the TryCancel method, the program terminates with a segmentation fault error. If I need to give more d

Re: [grpc-io] gRPC Cancellation Token

2023-09-22 Thread 'Sanjay Pujare' via grpc.io
Use context.TryCancel() as described in https://github.com/grpc/grpc/issues/17292 On Fri, Sep 22, 2023 at 1:13 AM Ahmet Yılmaz wrote: > Hello Everyone, > > Im working grpc server client project on c++, Im trying to cancel server > rpc with a request from client, but I didn'tHow can I cancel

[grpc-io] gRPC Cancellation Token

2023-09-22 Thread Ahmet Yılmaz
Hello Everyone, Im working grpc server client project on c++, Im trying to cancel server rpc with a request from client, but I didn'tHow can I cancel server rpc from client side ? Thanks Best regards -- You received this message because you are subscribed to the Google Groups "grpc.io