From 7e0270bfc86d701fe78e5a9bef2faacfd842fee5 Mon Sep 17 00:00:00 2001 From: Yihua Zhang Date: Wed, 25 Apr 2018 14:08:55 -0700 Subject: [PATCH] don't call security_handshake_failed_locked --- src/core/lib/security/transport/security_handshaker.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/core/lib/security/transport/security_handshaker.cc b/src/core/lib/security/transport/security_handshaker.cc index daeedf48105..d9ba3483e65 100644 --- a/src/core/lib/security/transport/security_handshaker.cc +++ b/src/core/lib/security/transport/security_handshaker.cc @@ -232,10 +232,8 @@ static grpc_error* on_handshake_next_done_locked( const unsigned char* bytes_to_send, size_t bytes_to_send_size, tsi_handshaker_result* handshaker_result) { grpc_error* error = GRPC_ERROR_NONE; - // Handshaker was shutdown. if (h->shutdown) { - security_handshake_failed_locked(h, GRPC_ERROR_REF(error)); return GRPC_ERROR_CREATE_FROM_STATIC_STRING("Handshaker shutdown"); } // Read more if we need to.