MINOR: stream/cli: make "show sess" support filtering on front/back/server
authorWilly Tarreau <w@1wt.eu>
Fri, 7 Mar 2025 09:34:19 +0000 (10:34 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 13 Mar 2025 15:01:04 +0000 (16:01 +0100)
commitb72952dfd341f3983e61dfd1b3663568f98ca837
tree008b6648648ffba5571f72ce047193630d3f9a6f
parentf03ad261524e4eb51ca39d8fafba6f1b6a497c1e
MINOR: stream/cli: make "show sess" support filtering on front/back/server

With "show sess", particularly "show sess all", we're often missing the
ability to inspect only streams attached to a frontend, backend or server.
Let's just add these filters to the command. Only one at a time may be set.

One typical use case could be to dump streams attached to a server after
issuing "shutdown sessions server XXX" to figure why any wouldn't stop
for example.

(cherry picked from commit 5e558c172791978d41a2e3f07519bc49ee2337e3)
Signed-off-by: Willy Tarreau <w@1wt.eu>
doc/management.txt
src/stream.c