]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cli: improve forward compatibility for show fd
authorMaxime Henrion <mhenrion@haproxy.com>
Fri, 8 May 2026 14:30:30 +0000 (10:30 -0400)
committerOlivier Houchard <cognet@ci0.org>
Wed, 13 May 2026 08:33:20 +0000 (10:33 +0200)
commit4f9b8574d276b64ea952b97f3da7d5bb36f14cee
tree6bce7619ce760473b8cbf8126d545a1ed20de5e4
parentf9e9ab8c9025b52f617ebfd4ccc24c85ee51235a
MINOR: cli: improve forward compatibility for show fd

The "<tgid>/" and "/" wildcard forms previously produced no output.
This isn't a bug since they are new, but a script written for future
versions (where the slash form will gain per-thread-group semantics)
would not work the same on 3.4. Make them produce output by dropping
the redundant ctx->fd = -1 wildcard sentinel; also tighten tgid
validation to reject values <= 0.
src/cli.c