fixed "connexion refused by peer" message

This commit is contained in:
csoler 2019-12-06 22:45:33 +01:00
parent d152d9f50c
commit 9790b98605
No known key found for this signature in database
GPG key ID: 7BCA522266C0804C
2 changed files with 2 additions and 3 deletions

View file

@ -1096,8 +1096,7 @@ int pqissl::SSL_Connection_Complete()
if (err != 1)
{
int serr = SSL_get_error(ssl_connection, err);
if ((serr == SSL_ERROR_WANT_READ)
|| (serr == SSL_ERROR_WANT_WRITE))
if ((serr == SSL_ERROR_WANT_READ) || (serr == SSL_ERROR_WANT_WRITE))
{
#ifdef PQISSL_LOG_DEBUG
rslog(RSL_DEBUG_BASIC, pqisslzone,