BUG/MAJOR: cli/streams: missing unlock on exit "show sess"

An unlock was missing on the situation where the session disappeared
while watching it.
This commit is contained in:
Willy Tarreau 2017-11-05 10:31:10 +01:00
parent 6ce38f3eab
commit 70124ce3e1

View File

@ -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;
}