summaryrefslogtreecommitdiff
path: root/adapters/libuv.h
diff options
context:
space:
mode:
authorBjorn Svensson <bjorn.a.svensson@est.tech>2022-01-18 19:09:38 +0100
committerGitHub <noreply@github.com>2022-01-18 10:09:38 -0800
commitf2ce5980e6bc9739b85a5ac882980956c80907ba (patch)
tree588820b9a0c288d9021358f0938c11668e0453fa /adapters/libuv.h
parentff860e55dbe49bbd3dc9a89d055047d0731ecc9f (diff)
Allow sending commands after sending an unsubscribe (#1036)
* Add test of async commands after unsubscribe Verify that commands are handled after unsubscribing from a channel. A command is sent before the `unsubscribe` response is received, which currently triggers an assert in async.c:567: `redisProcessCallbacks: Assertion `(c->flags & REDIS_SUBSCRIBED || c->flags & REDIS_MONITORING)' failed.` * Handle async commands after an unsubscribe When unsubscribing from the last channel we move from the `subscribe` state to a normal state. These states uses different holders for the command callback information. By moving the callback info during the state change the callback order can be maintained.
Diffstat (limited to 'adapters/libuv.h')
0 files changed, 0 insertions, 0 deletions