mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-17 16:37:43 +02:00
Removed throw from checkResult (causes client to freeze) #4313
This commit is contained in:
parent
87a81adeb4
commit
9cdff4a910
1 changed files with 2 additions and 7 deletions
|
@ -270,11 +270,11 @@ SecureSocket::checkResult(int n)
|
|||
|
||||
switch (errorCode) {
|
||||
case SSL_ERROR_NONE:
|
||||
// the TLS/SSL I/O operation completed
|
||||
// operation completed
|
||||
break;
|
||||
|
||||
case SSL_ERROR_ZERO_RETURN:
|
||||
// the TLS/SSL connection has been closed
|
||||
// connection has been closed
|
||||
LOG((CLOG_DEBUG2 "secure socket error: SSL_ERROR_ZERO_RETURN"));
|
||||
break;
|
||||
|
||||
|
@ -299,12 +299,7 @@ SecureSocket::checkResult(int n)
|
|||
break;
|
||||
|
||||
case SSL_ERROR_SYSCALL:
|
||||
// some I/O error occurred
|
||||
throwError("secure socket syscall error");
|
||||
break;
|
||||
|
||||
case SSL_ERROR_SSL:
|
||||
// a failure in the SSL library occurred
|
||||
LOG((CLOG_DEBUG2 "secure socket error: SSL_ERROR_SSL"));
|
||||
sendEvent(getEvents()->forISocket().disconnected());
|
||||
sendEvent(getEvents()->forIStream().inputShutdown());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue