From 090cd46a6c7807331ce665881b64ce2ec07b080d Mon Sep 17 00:00:00 2001 From: Jan Tattermusch Date: Thu, 31 Aug 2017 15:42:17 +0200 Subject: Revert "Fake zero copy protector" --- src/core/lib/security/transport/secure_endpoint.h | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'src/core/lib/security/transport/secure_endpoint.h') diff --git a/src/core/lib/security/transport/secure_endpoint.h b/src/core/lib/security/transport/secure_endpoint.h index 3323a6ff42..1c5555f3df 100644 --- a/src/core/lib/security/transport/secure_endpoint.h +++ b/src/core/lib/security/transport/secure_endpoint.h @@ -23,17 +23,12 @@ #include "src/core/lib/iomgr/endpoint.h" struct tsi_frame_protector; -struct tsi_zero_copy_grpc_protector; extern grpc_tracer_flag grpc_trace_secure_endpoint; -/* Takes ownership of protector, zero_copy_protector, and to_wrap, and refs - * leftover_slices. If zero_copy_protector is not NULL, protector will never be - * used. */ +/* Takes ownership of protector and to_wrap, and refs leftover_slices. */ grpc_endpoint *grpc_secure_endpoint_create( - struct tsi_frame_protector *protector, - struct tsi_zero_copy_grpc_protector *zero_copy_protector, - grpc_endpoint *to_wrap, grpc_slice *leftover_slices, - size_t leftover_nslices); + struct tsi_frame_protector *protector, grpc_endpoint *to_wrap, + grpc_slice *leftover_slices, size_t leftover_nslices); #endif /* GRPC_CORE_LIB_SECURITY_TRANSPORT_SECURE_ENDPOINT_H */ -- cgit v1.2.3