The behavior is documented in our API reference <https://grpc.github.io/grpc/cpp/classgrpc_1_1_server_interface.html#a644772d11101318f1424e595dee73ccf>. It does cancel all pending RPCs. Note that applications using the CQ-based async API are responsible for noting that the calls have been cancelled and stopping their processing before destroying the CQs.
On Thursday, December 7, 2023 at 2:53:48 PM UTC-8 Hung Dang wrote: > Hello gRPC devs, > > Can you confirm that the C++ grpc::ServerInterface::Shutdown() method will > shut down the server and cancel all pending requests when being called? > > Thanks, > Hung > -- 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 grpc-io+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/3d737e03-1128-443e-9509-496680cc219bn%40googlegroups.com.