Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/iocore/net/P_SSLNetVConnection.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,8 @@ constexpr int SSL_DEF_TLS_RECORD_MSEC_THRESHOLD = 1000;
struct SSLCertLookup;

enum class SslVConnOp {
SSL_HOOK_OP_DEFAULT, ///< Null / initialization value. Do normal processing.
SSL_HOOK_OP_TUNNEL, ///< Switch to blind tunnel
SSL_HOOK_OP_TERMINATE ///< Termination connection / transaction.
SSL_HOOK_OP_DEFAULT, ///< Null / initialization value. Do normal processing.
SSL_HOOK_OP_TUNNEL ///< Switch to blind tunnel
};

enum class SSLHandshakeStatus { SSL_HANDSHAKE_ONGOING, SSL_HANDSHAKE_DONE, SSL_HANDSHAKE_ERROR };
Expand Down
3 changes: 0 additions & 3 deletions src/iocore/net/SSLNetVConnection.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1309,9 +1309,6 @@ SSLNetVConnection::sslServerHandShakeEvent(int &err)
// we get out of this callback, and then will shuffle
// over the buffered handshake packets to the O.S.
return EVENT_DONE;
} else if (SslVConnOp::SSL_HOOK_OP_TERMINATE == hookOpRequested) {
sslHandshakeStatus = SSLHandshakeStatus::SSL_HANDSHAKE_DONE;
return EVENT_DONE;
}

Dbg(dbg_ctl_ssl, "Go on with the handshake state=%s",
Expand Down