summaryrefslogtreecommitdiff
path: root/async.h
diff options
context:
space:
mode:
authorBjorn Svensson <bjorn.a.svensson@est.tech>2021-12-16 21:38:15 +0100
committerGitHub <noreply@github.com>2021-12-16 12:38:15 -0800
commitd3384260e7e1726747bd78474e4b0874a4b0a236 (patch)
treeac413c6734abad22e6244e9d91477e22e2275bf4 /async.h
parente3a479e4098dddbf0b075bbe81b0baca5fe0e3df (diff)
Support PING while subscribing (RESP2) (#1027)
* Handle PING during pubsub in RESP2 * Rename invalid callback list Some commands are valid to send during a subscribe in RESP2, and most in RESP3. Renaming the callback list from `invalid` to `replies` to detail this fact. * Fix review comment
Diffstat (limited to 'async.h')
-rw-r--r--async.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/async.h b/async.h
index b1d2cb2..4c65203 100644
--- a/async.h
+++ b/async.h
@@ -102,7 +102,7 @@ typedef struct redisAsyncContext {
/* Subscription callbacks */
struct {
- redisCallbackList invalid;
+ redisCallbackList replies;
struct dict *channels;
struct dict *patterns;
} sub;