diff options
author | Bjorn Svensson <bjorn.a.svensson@est.tech> | 2021-01-26 09:10:14 +0100 |
---|---|---|
committer | Bjorn Svensson <bjorn.a.svensson@est.tech> | 2021-01-26 09:57:19 +0100 |
commit | 4bba72103c93eaaa8a6e07176e60d46ab277cf8a (patch) | |
tree | 93eb3dd4ae6911b42d31f66a805dddb00f5c03b8 /hiredis.c | |
parent | 297ecbecb71616977ab0bb9b7387d8fa19a5a54f (diff) |
Handle OOM during async command callback registration
Unless the callback is pushed to the list it will trigger an assert
in redisProcessCallbacks() when the response arrives.
This change let the user get an early error instead,
available in the async context directly.
Diffstat (limited to 'hiredis.c')
0 files changed, 0 insertions, 0 deletions