fix(ha-bootstrap): increase config fetch retries to 60, downgrade no-config log, suppress false SSL perror

This commit is contained in:
Rongsong Shen 2026-05-29 14:56:48 +00:00
parent 45f40c51c1
commit e4e34d8f60
2 changed files with 9 additions and 6 deletions

View file

@ -449,8 +449,11 @@ static int handle_ssl_handshake(endpoint_t* ep)
rc = 0;
break;
default:
errno = ecode;
perror("SSL_do_handshake");
/* Only log if it's a genuine error (not errno=0 after success) */
if (ecode != 0) {
errno = ecode;
perror("SSL_do_handshake");
}
rc = handle_error(ep);
break;
}