]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: tevt/connection: Add support for POLL_HUP/POLL_ERR events
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 30 Jan 2025 10:31:59 +0000 (11:31 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 31 Jan 2025 09:41:50 +0000 (10:41 +0100)
commit71320fc9c1a17ac0d2c64a88af0b4e438ecfe35e
tree1fb54dfd9d7ab58000579ce115520b15b94eafc1
parentc7457427ab00045a81ca0bde6021e04ebdf00132
MINOR: tevt/connection: Add support for POLL_HUP/POLL_ERR events

Connection errors can be detected via connect/recv/send syscall, but also
because it was reported by the poller. So dedicated events, at the FD level,
are introduced to make the difference.

term_events tool was updated accordingly.
dev/term_events/term_events.c
include/haproxy/connection-t.h
src/raw_sock.c
src/sock.c