]> git.ipfire.org Git - thirdparty/suricata.git/commit
util-log-redis: fix reconnect in batch mode
authorEric Leblond <eric@regit.org>
Thu, 23 Jan 2020 12:10:44 +0000 (13:10 +0100)
committerJeff Lucovsky <jeff@lucovsky.org>
Sun, 5 Jul 2020 15:40:54 +0000 (11:40 -0400)
commit8a9c86b7bd0e04c6f7c5f734933b75ef374f92fe
treea1e98b72016d5ef5841b58cbc4fc6fd261d5e8da
parent93840939e6bd14659e4c940796187c0f4e0d8bde
util-log-redis: fix reconnect in batch mode

In case of redis outage, the redis session was reset but the replies
were still fetch even if there is none replies in the new session.

(cherry picked from commit 21431f166c337a7d3dd8ff8cc3aacbe686414ae3)
src/util-log-redis.c