summaryrefslogtreecommitdiff
path: root/ssl.c
diff options
context:
space:
mode:
authorYossi Gottlieb <yossigo@gmail.com>2019-09-16 17:16:44 +0300
committerYossi Gottlieb <yossigo@gmail.com>2019-09-16 17:30:35 +0300
commita1e538092d79425232588c249f636c4c9d810ec4 (patch)
treedded144610363f19eb27ad920ec291d7579c76b4 /ssl.c
parentd41443bd3d87adfb32dc28ee02d3aa81e515e255 (diff)
Make SSL timeout error compatible with rest.
Diffstat (limited to 'ssl.c')
-rw-r--r--ssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl.c b/ssl.c
index 418ece6..78ab9e4 100644
--- a/ssl.c
+++ b/ssl.c
@@ -337,7 +337,7 @@ static int redisSSLRead(redisContext *c, char *buf, size_t bufcap) {
} else {
const char *msg = NULL;
if (errno == EAGAIN) {
- msg = "Timed out";
+ msg = "Resource temporarily unavailable";
}
__redisSetError(c, REDIS_ERR_IO, msg);
return -1;