]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: debug: add a new DEBUG_FD build option
authorWilly Tarreau <w@1wt.eu>
Tue, 23 Jun 2020 08:04:54 +0000 (10:04 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 23 Jun 2020 08:04:54 +0000 (10:04 +0200)
commit38e8a1c7b8b5fc0512d82e19c2da2c296e1826b2
treee4cbe1e1c83ef054fda4bed9ac5c07d08b5f5de9
parentee99aaf1f9bad06475aaf8c5dc3c0986a9899952
MINOR: debug: add a new DEBUG_FD build option

When DEBUG_FD is set at build time, we'll keep a counter of per-FD events
in the fdtab. This counter is reported in "show fd" even for closed FDs if
not zero. The purpose is to help spot situations where an apparently closed
FD continues to be reported in loops, or where some events are dismissed.
Makefile
include/haproxy/fd-t.h
include/haproxy/fd.h
src/cli.c
src/ev_epoll.c
src/ev_evports.c
src/ev_kqueue.c
src/ev_poll.c
src/ev_select.c
src/fd.c