Skip to content
Snippets Groups Projects
Commit 840a1352 authored by Sree Kuchibhotla's avatar Sree Kuchibhotla
Browse files

Add shutdown_cq as a server cq so that progress can be made when calling cq_pluck on f->shutdown_cq

parent e7a8f41f
No related branches found
No related tags found
No related merge requests found
......@@ -111,6 +111,7 @@ static void chttp2_init_server_secure_fullstack(
}
f->server = grpc_server_create(server_args, NULL);
grpc_server_register_completion_queue(f->server, f->cq, NULL);
grpc_server_register_completion_queue(f->server, f->shutdown_cq, NULL);
GPR_ASSERT(grpc_server_add_secure_http2_port(f->server, ffd->localaddr,
server_creds));
grpc_server_credentials_release(server_creds);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment