mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-09 07:22:21 +08:00
added assersions before lib func invoking and adjust log level #4313
This commit is contained in:
@@ -218,7 +218,7 @@ SecureSocket::secureAccept(int socket)
|
||||
SSL_set_fd(m_ssl->m_ssl, socket);
|
||||
|
||||
// do SSL-protocol accept
|
||||
LOG((CLOG_DEBUG "secureAccept"));
|
||||
LOG((CLOG_DEBUG1 "secureAccept"));
|
||||
int r = SSL_accept(m_ssl->m_ssl);
|
||||
bool retry = checkResult(r);
|
||||
|
||||
@@ -241,9 +241,9 @@ SecureSocket::secureConnect(int socket)
|
||||
|
||||
// attach the socket descriptor
|
||||
SSL_set_fd(m_ssl->m_ssl, socket);
|
||||
LOG((CLOG_DEBUG "secureConnect"));
|
||||
int r = SSL_connect(m_ssl->m_ssl);
|
||||
|
||||
LOG((CLOG_DEBUG1 "secureConnect"));
|
||||
int r = SSL_connect(m_ssl->m_ssl);
|
||||
bool retry = checkResult(r);
|
||||
|
||||
//TODO: don't use this infinite loop
|
||||
|
||||
Reference in New Issue
Block a user