don't call security_handshake_failed_locked

pull/15190/head
Yihua Zhang 7 years ago
parent 7f2880d2ac
commit 7e0270bfc8
  1. 2
      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.

Loading…
Cancel
Save