The grpc::ServerInterface::Shutdown() behavior

30 vues
Accéder directement au premier message non lu

Hung Dang

non lue,
7 déc. 2023, 17:53:4807/12/2023
à grp...@googlegroups.com
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

Mark D. Roth

non lue,
12 déc. 2023, 16:36:1112/12/2023
à grpc.io
The behavior is documented in our API reference.  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.
Répondre à tous
Répondre à l'auteur
Transférer
0 nouveau message