diff options
author | Bjorn Svensson <bjorn.a.svensson@est.tech> | 2021-12-16 21:38:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-16 12:38:15 -0800 |
commit | d3384260e7e1726747bd78474e4b0874a4b0a236 (patch) | |
tree | ac413c6734abad22e6244e9d91477e22e2275bf4 /async.h | |
parent | e3a479e4098dddbf0b075bbe81b0baca5fe0e3df (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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -102,7 +102,7 @@ typedef struct redisAsyncContext { /* Subscription callbacks */ struct { - redisCallbackList invalid; + redisCallbackList replies; struct dict *channels; struct dict *patterns; } sub; |