]> git.kaiwu.me - haproxy.git/commit
MINOR: ring: support inactivity timeout in show ring CLI handler
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 2 Nov 2026 15:47:07 +0000 (16:47 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 9 Nov 2026 16:15:29 +0000 (17:15 +0100)
commit781d12cf00745e4a87fd818d115a3d0023633dd3
treeb03da6d6a90c66fa26e132b0cbcab53be4422fe8
parentc40d8abff078c151a2f14d695ccfbbd4dbc9ddc4
MINOR: ring: support inactivity timeout in show ring CLI handler

This patch implements uninterruptible mode of execution when monitoring
a ring via the CLI. The handler continues to run despite the detection
of the CLI input closure.

The command is still stopped if a send error occurs while reporting new
events. Also, the socket timeout is reused as an inactivity timeout,
refreshed each time new events are detected. The command is stopped if
there is nothing to report during this delay.
src/ring.c