From 70124ce3e12403632511944c17c7fb8e8455fde2 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Sun, 5 Nov 2017 10:31:10 +0100 Subject: [PATCH] BUG/MAJOR: cli/streams: missing unlock on exit "show sess" An unlock was missing on the situation where the session disappeared while watching it. --- src/stream.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/stream.c b/src/stream.c index ddaca3926..12545fb14 100644 --- a/src/stream.c +++ b/src/stream.c @@ -3229,6 +3229,7 @@ static int cli_io_handler_dump_sess(struct appctx *appctx) if (ci_putchk(si_ic(si), &trash) == -1) { si_applet_cant_put(si); + SPIN_UNLOCK(STRMS_LOCK, &streams_lock); return 0; } -- 2.47.3