From 6ef41522b70a30f9529e00fda6c8d38519b4e301 Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Wed, 4 Mar 2015 11:43:42 +0000 Subject: [PATCH] Revert "Fixed: Exception was not thrown on secure accept/connect #4313" This reverts commit c5ed03a8a03741496a4efc01e370a3f3f78279f1. --- src/lib/plugin/ns/SecureSocket.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/plugin/ns/SecureSocket.cpp b/src/lib/plugin/ns/SecureSocket.cpp index 143e572b..4aa42114 100644 --- a/src/lib/plugin/ns/SecureSocket.cpp +++ b/src/lib/plugin/ns/SecureSocket.cpp @@ -227,7 +227,6 @@ SecureSocket::secureAccept(int socket) catch (XSocket& e) { LOG((CLOG_ERR "failed to accept secure connection")); LOG((CLOG_INFO "client may have encryption disabled")); - throw e; } return retry; @@ -253,7 +252,6 @@ SecureSocket::secureConnect(int socket) catch (XSocket& e) { LOG((CLOG_ERR "failed to establish secure connection")); LOG((CLOG_INFO "server may have encryption disabled")); - throw e; } m_secureReady = !retry;