mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
Merge branch 'unstable' of github.com:/antirez/redis into unstable
This commit is contained in:
commit
44b76a75d2
@ -217,7 +217,7 @@ int tlsConfigure(redisTLSContextConfig *ctx_config) {
|
|||||||
SSL_CTX_set_ecdh_auto(ctx, 1);
|
SSL_CTX_set_ecdh_auto(ctx, 1);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (SSL_CTX_use_certificate_file(ctx, ctx_config->cert_file, SSL_FILETYPE_PEM) <= 0) {
|
if (SSL_CTX_use_certificate_chain_file(ctx, ctx_config->cert_file) <= 0) {
|
||||||
ERR_error_string_n(ERR_get_error(), errbuf, sizeof(errbuf));
|
ERR_error_string_n(ERR_get_error(), errbuf, sizeof(errbuf));
|
||||||
serverLog(LL_WARNING, "Failed to load certificate: %s: %s", ctx_config->cert_file, errbuf);
|
serverLog(LL_WARNING, "Failed to load certificate: %s: %s", ctx_config->cert_file, errbuf);
|
||||||
goto error;
|
goto error;
|
||||||
|
@ -64,6 +64,7 @@ start_server {} {
|
|||||||
# make sure replication is still alive and kicking
|
# make sure replication is still alive and kicking
|
||||||
$R(1) incr x
|
$R(1) incr x
|
||||||
wait_for_condition 50 1000 {
|
wait_for_condition 50 1000 {
|
||||||
|
[status $R(0) loading] == 0 &&
|
||||||
[$R(0) get x] == 1
|
[$R(0) get x] == 1
|
||||||
} else {
|
} else {
|
||||||
fail "replica didn't get incr"
|
fail "replica didn't get incr"
|
||||||
|
Loading…
Reference in New Issue
Block a user