]> git.kaiwu.me - haproxy.git/commit
MINOR: cli: Report the tgid along the FD in "show sess"
authorOlivier Houchard <ohouchard@haproxy.com>
Wed, 29 Jul 2026 21:37:32 +0000 (23:37 +0200)
committerOlivier Houchard <cognet@ci0.org>
Thu, 30 Jul 2026 11:35:22 +0000 (13:35 +0200)
commitdcb93d1c0f708a52432b5888f6b1f50edbe1876b
treec3db64f8937436446409fb1916400871b1d290db
parent1b801ca6f7dfc977096dbc5833d166842aaf3d27
MINOR: cli: Report the tgid along the FD in "show sess"

With per-thread-group FD tables, an FD number alone is ambiguous: it is
only meaningful within the thread group of the stream that uses it. So
display the FDs of the "show sess" output in the "tgid/fd" form already
used by "show fd", both in the one-line format and in the detailed one.
In the detailed output, the FD state, update and thread masks are also
read from the owner group's table rather than from the calling
thread's one, which would report an unrelated entry when the tables
are not shared.
src/stream.c