]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: cli/ring: Properly handle shutdown in "show event" I/O handler
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 26 May 2025 12:25:16 +0000 (14:25 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 26 May 2025 17:00:00 +0000 (19:00 +0200)
commit4d4da515f2287ec5db1ae251f0d8415cad10bd34
treeaa4c773047fe9dff8f4eaf8f193976cc1f1bcc84
parent99e755d673e1e4bdfe9a27418510c083c0aa4e87
BUG/MEDIUM: cli/ring: Properly handle shutdown in "show event" I/O handler

The commit 03dc54d802 ("BUG/MINOR: ring: Fix I/O handler of "show event"
command to not rely on the SC") introduced a regression. By removing
dependencies on the SC, a test to detect client shutdowns was removed. So
now, the CLI applet is no longer released when the client shut the
connection during a "show event -w".

So of course, we should not use the SC to detect the shutdowns. But the SE
must be used insteead.

It is a 3.2-specific issue, so no backport needed.
src/ring.c