BUG/MINOR: cli: Atomically inc the global request counter between CLI commands
The global request counter is used to set the stream id (s->uniq_id). It is
incremented at different places. And it must be atomically incremented
because it is a global value. However, in the analyer dealing with CLI
command response, this was not the case. It is now fixed.
This patch must be backported to all stable versions.
(cherry picked from commit 3cdb3fa5d95afc33465f894640217ff87b0c0562)
Signed-off-by: Willy Tarreau <w@1wt.eu>
(cherry picked from commit 29a6545fecf8292a5583f1f630821e77fea93b2c)
Signed-off-by: Willy Tarreau <w@1wt.eu>
(cherry picked from commit 8fb2eea0cf64e9f283949af8effaaaac28076cdb)
Signed-off-by: Willy Tarreau <w@1wt.eu>
1 file changed