I think there is no way doing this in gRPC C++ so this should be done by an 
application-side bookkeeping for connections. 

On Saturday, September 19, 2020 at 4:25:48 PM UTC-7 kishan patel wrote:

> I'm using the c++ version of the sever to test my application and I wanted 
> to know whether there was a way to explicitly close all established 
> connections to clients as well as wait for confirmation before shutting 
> down?
>
> Before the test ends, my applications expects the gRPC server to terminate 
> all established connections, otherwise it will fail. 
>
> The test are passing 9/10 times, but fail occasionally whenever there are 
> connections established while the application is shutting down. I need this 
> to remove instabilities in my test suite.
>
>
>

-- 
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/21121773-8000-4c24-bd04-f1d52fa4c8e9n%40googlegroups.com.

Reply via email to