summaryrefslogtreecommitdiff
path: root/async.h
diff options
context:
space:
mode:
authorMark Nunberg <mnunberg@users.noreply.github.com>2018-10-03 06:53:42 -0400
committerGitHub <noreply@github.com>2018-10-03 06:53:42 -0400
commit67036ef70c9b332c51fe24489fc9f9cdaa09dbe3 (patch)
treed0c133ad2b3cc92a43045a61ae0dfe956f464add /async.h
parent747d78beaa66ef1666de7ea0153f2bc2504b8ee5 (diff)
parent3cb4fb2395919ff91d29c7ab66634f5211eaca89 (diff)
Merge pull request #578 from mnunberg/connfix
Proper error reporting for connect failures
Diffstat (limited to 'async.h')
-rw-r--r--async.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/async.h b/async.h
index e69d840..740555c 100644
--- a/async.h
+++ b/async.h
@@ -93,6 +93,10 @@ typedef struct redisAsyncContext {
/* Regular command callbacks */
redisCallbackList replies;
+ /* Address used for connect() */
+ struct sockaddr *saddr;
+ size_t addrlen;
+
/* Subscription callbacks */
struct {
redisCallbackList invalid;