mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 04:58:21 +00:00
Redis: Handle disconnection correctly via callback
This commit is contained in:
parent
b067a6e588
commit
a40db844eb
3 changed files with 21 additions and 17 deletions
|
@ -69,6 +69,7 @@ private:
|
|||
std::deque<redisReply*> reply_queue;
|
||||
|
||||
OpenResultCallback* open_cb;
|
||||
OperationResultCallback* close_cb;
|
||||
std::mutex expire_mutex;
|
||||
|
||||
std::string server_addr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue