RESP3: hiredis updated with recent version + some RESP3 support.

This commit is contained in:
antirez
2018-12-04 19:01:33 +01:00
parent 809e3a44a7
commit d5c54f0b3a
16 changed files with 499 additions and 226 deletions

View File

@@ -45,6 +45,7 @@ typedef void (redisCallbackFn)(struct redisAsyncContext*, void*, void*);
typedef struct redisCallback {
struct redisCallback *next; /* simple singly linked list */
redisCallbackFn *fn;
int pending_subs;
void *privdata;
} redisCallback;
@@ -92,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;