diff options
-rw-r--r-- | async.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -703,6 +703,7 @@ void redisAsyncHandleTimeout(redisAsyncContext *ac) { if (!c->err) { __redisSetError(c, REDIS_ERR_TIMEOUT, "Timeout"); + __redisAsyncCopyError(ac); } if (!(c->flags & REDIS_CONNECTED) && ac->onConnect) { |