]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: quic: fix "show quic" filtered connection
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 22 Oct 2026 09:13:19 +0000 (11:13 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 22 Oct 2026 09:48:51 +0000 (11:48 +0200)
commit3eeec1481fff3bfb1d15a8db30988704af1467b6
tree7ba7a36cbfdd9019e0a3a590dd5a26986c36d776
parent59f8449e0cf2ef964ee08a596f4a62dd06e05f40
BUG/MINOR: quic: fix "show quic" filtered connection

CLI "show quic" output can be filtered to only a single connection entry
by specifying its address as argument. However, loop iteration and
filtering was incorrectly implemented, and in effect only the first
connection of each thread could be dumped this way.

Fix this by adjusting iteration on "show quic" handler. The basic idea
is similar. If <ctx.ptr> is set, it does not dump anything for
non-matching entries. As soon as the filtered entry is dumped, the
iteration is interrupted.

This must be backported up to 3.0.
src/quic_cli.c