mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-19 01:18:13 +02:00
Fixed: Exception was not thrown on secure accept/connect #4313
This commit is contained in:
parent
a6b5c872f5
commit
c5ed03a8a0
1 changed files with 2 additions and 0 deletions
|
@ -227,6 +227,7 @@ SecureSocket::secureAccept(int socket)
|
||||||
catch (XSocket& e) {
|
catch (XSocket& e) {
|
||||||
LOG((CLOG_ERR "failed to accept secure connection"));
|
LOG((CLOG_ERR "failed to accept secure connection"));
|
||||||
LOG((CLOG_INFO "client may have encryption disabled"));
|
LOG((CLOG_INFO "client may have encryption disabled"));
|
||||||
|
throw e;
|
||||||
}
|
}
|
||||||
|
|
||||||
return retry;
|
return retry;
|
||||||
|
@ -252,6 +253,7 @@ SecureSocket::secureConnect(int socket)
|
||||||
catch (XSocket& e) {
|
catch (XSocket& e) {
|
||||||
LOG((CLOG_ERR "failed to establish secure connection"));
|
LOG((CLOG_ERR "failed to establish secure connection"));
|
||||||
LOG((CLOG_INFO "server may have encryption disabled"));
|
LOG((CLOG_INFO "server may have encryption disabled"));
|
||||||
|
throw e;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_secureReady = !retry;
|
m_secureReady = !retry;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue