From 07fa81b4259c6bcc39c14fd5d7a11d1d8f918ca8 Mon Sep 17 00:00:00 2001 From: cdjgit Date: Wed, 15 May 2019 18:49:13 +0800 Subject: [PATCH] fix ssl state check failed --- src/brpc/socket.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/brpc/socket.cpp b/src/brpc/socket.cpp index f7ad8e864f..dead3c5c93 100644 --- a/src/brpc/socket.cpp +++ b/src/brpc/socket.cpp @@ -712,7 +712,6 @@ int Socket::WaitAndReset(int32_t expected_nref) { SSL_free(_ssl_session); _ssl_session = NULL; } - _ssl_state = SSL_UNKNOWN; _nevent.store(0, butil::memory_order_relaxed); // parsing_context is very likely to be associated with the fd, // removing it is a safer choice and required by http2.