Update code

This commit is contained in:
Nick Peng
2018-11-03 21:46:16 +08:00
parent 9ef1a7a2ef
commit 307ebe234f
2 changed files with 4 additions and 2 deletions

View File

@@ -1078,7 +1078,9 @@ static int _dns_client_socket_recv(SSL *ssl, void *buf, int num)
ret = -1;
break;
case SSL_ERROR_SYSCALL:
tlog(TLOG_ERROR, "SSL syscall failed, %s, ", strerror(errno));
if (errno != ECONNRESET) {
tlog(TLOG_ERROR, "SSL syscall failed, %s ", strerror(errno));
}
ret = -1;
return ret;
default: