aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/security/secure_endpoint.c
diff options
context:
space:
mode:
authorGravatar Nicolas Noble <nicolasnoble@users.noreply.github.com>2015-07-28 08:35:31 -0700
committerGravatar Nicolas Noble <nicolasnoble@users.noreply.github.com>2015-07-28 08:35:31 -0700
commite71314fe26c314a79509a1b660f16a427698b992 (patch)
treeeac7afd4a4aef8d81f6e22d65cff69eb53e67ff3 /src/core/security/secure_endpoint.c
parent7aa149137255bd6385b9eae6a6e5e910b9e0be80 (diff)
parent8a67d39ada064b65e10a918d30be1e8bd21e84ac (diff)
Merge pull request #2477 from ctiller/sometimes-its-good-just-to-check-in-with-each-other
Client connectivity API
Diffstat (limited to 'src/core/security/secure_endpoint.c')
-rw-r--r--src/core/security/secure_endpoint.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/core/security/secure_endpoint.c b/src/core/security/secure_endpoint.c
index e189380ec5..95fbf71f3d 100644
--- a/src/core/security/secure_endpoint.c
+++ b/src/core/security/secure_endpoint.c
@@ -331,14 +331,22 @@ static void endpoint_add_to_pollset(grpc_endpoint *secure_ep,
grpc_endpoint_add_to_pollset(ep->wrapped_ep, pollset);
}
+static void endpoint_add_to_pollset_set(grpc_endpoint *secure_ep,
+ grpc_pollset_set *pollset_set) {
+ secure_endpoint *ep = (secure_endpoint *)secure_ep;
+ grpc_endpoint_add_to_pollset_set(ep->wrapped_ep, pollset_set);
+}
+
static char *endpoint_get_peer(grpc_endpoint *secure_ep) {
secure_endpoint *ep = (secure_endpoint *)secure_ep;
return grpc_endpoint_get_peer(ep->wrapped_ep);
}
static const grpc_endpoint_vtable vtable = {
- endpoint_notify_on_read, endpoint_write, endpoint_add_to_pollset,
- endpoint_shutdown, endpoint_unref, endpoint_get_peer};
+ endpoint_notify_on_read, endpoint_write,
+ endpoint_add_to_pollset, endpoint_add_to_pollset_set,
+ endpoint_shutdown, endpoint_unref,
+ endpoint_get_peer};
grpc_endpoint *grpc_secure_endpoint_create(
struct tsi_frame_protector *protector, grpc_endpoint *transport,