]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix to log redis timeout error string on failure.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Tue, 5 Nov 2024 10:41:41 +0000 (11:41 +0100)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Tue, 5 Nov 2024 10:41:41 +0000 (11:41 +0100)
cachedb/redis.c
doc/Changelog

index 6600905f284821157afa67c733c65171f1ae9143..6e83bd927a3c0f90cedcc46e5fbdb274ccdc3b3a 100644 (file)
@@ -102,7 +102,7 @@ redis_connect(const struct redis_moddata* moddata)
                goto fail;
        }
        if(redisSetTimeout(ctx, moddata->command_timeout) != REDIS_OK) {
-               log_err("failed to set redis timeout");
+               log_err("failed to set redis timeout, %s", ctx->errstr);
                goto fail;
        }
        if(moddata->server_password && moddata->server_password[0]!=0) {
index 2768470485d047bc1e9370e192dbff086cc3b8f3..a0d3898ba507c2a3a7a6c4f0a62085f376471b4f 100644 (file)
@@ -4,6 +4,7 @@
          current delegation and validation recursion information to be
          updated, but as a consequence no longer has certain expired
          information around for later dnssec valid expired responses.
+       - Fix to log redis timeout error string on failure.
 
 4 November 2024: Wouter
        - Fix redis that during a reload it does not fail if the redis