aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/security
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2018-08-26 03:50:39 -0700
committerGravatar Yash Tibrewal <yashkt@google.com>2018-08-26 03:50:39 -0700
commit9c5bde5e4e2cc0c81c3c6411b3aa922d3e995a54 (patch)
tree270d52c92efbf923855cd24efab620029af0aa7d /src/core/lib/security
parentf71fd84e42cd8053de35df7d6137f7c2e2407ce3 (diff)
More commits
Diffstat (limited to 'src/core/lib/security')
-rw-r--r--src/core/lib/security/transport/secure_endpoint.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/lib/security/transport/secure_endpoint.cc b/src/core/lib/security/transport/secure_endpoint.cc
index f40f969bb7..9b103834e1 100644
--- a/src/core/lib/security/transport/secure_endpoint.cc
+++ b/src/core/lib/security/transport/secure_endpoint.cc
@@ -389,6 +389,11 @@ static grpc_resource_user* endpoint_get_resource_user(
return grpc_endpoint_get_resource_user(ep->wrapped_ep);
}
+static bool endpoint_can_track_err(grpc_endpoint* secure_ep) {
+ secure_endpoint* ep = reinterpret_cast<secure_endpoint*>(secure_ep);
+ return grpc_endpoint_can_track_err(ep->wrapped_ep);
+}
+
static const grpc_endpoint_vtable vtable = {endpoint_read,
endpoint_write,
endpoint_add_to_pollset,
@@ -398,7 +403,8 @@ static const grpc_endpoint_vtable vtable = {endpoint_read,
endpoint_destroy,
endpoint_get_resource_user,
endpoint_get_peer,
- endpoint_get_fd};
+ endpoint_get_fd,
+ endpoint_can_track_err};
grpc_endpoint* grpc_secure_endpoint_create(
struct tsi_frame_protector* protector,