mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-09 16:02:46 +08:00
Fixed: Exception was not thrown on secure accept/connect #4313
This commit is contained in:
@@ -227,6 +227,7 @@ 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;
|
||||
@@ -252,6 +253,7 @@ 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;
|
||||
|
||||
Reference in New Issue
Block a user