aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/security
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-02-12 09:02:56 -0800
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-02-12 09:02:56 -0800
commit20bc56d8908358b1e4f8e8d853a3d3c53f8cb4fe (patch)
tree2c9e02ebef55da5953a9049c6220757b8a1dbc68 /src/core/security
parentfada7d43b1ee8d128e4ee5267ab859e84ce56752 (diff)
Multi-completion-queue-server
Allow binding a different completion queue to each registered method. This will allow multiplexing for the C++ server between sync & async methods more easily.
Diffstat (limited to 'src/core/security')
-rw-r--r--src/core/security/server_secure_chttp2.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/security/server_secure_chttp2.c b/src/core/security/server_secure_chttp2.c
index 480c882794..19056ba23e 100644
--- a/src/core/security/server_secure_chttp2.c
+++ b/src/core/security/server_secure_chttp2.c
@@ -76,9 +76,10 @@ static void on_accept(void *server, grpc_endpoint *tcp) {
/* Note: the following code is the same with server_chttp2.c */
/* Server callback: start listening on our ports */
-static void start(grpc_server *server, void *tcpp, grpc_pollset *pollset) {
+static void start(grpc_server *server, void *tcpp, grpc_pollset **pollsets,
+ size_t pollset_count) {
grpc_tcp_server *tcp = tcpp;
- grpc_tcp_server_start(tcp, pollset, on_accept, server);
+ grpc_tcp_server_start(tcp, pollsets, pollset_count, on_accept, server);
}
/* Server callback: destroy the tcp listener (so we don't generate further