]> git.ipfire.org Git - thirdparty/haproxy.git/commit
DEV: tcploop: add optional support for epoll
authorWilly Tarreau <w@1wt.eu>
Fri, 25 Nov 2022 16:05:05 +0000 (17:05 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 25 Nov 2022 16:08:06 +0000 (17:08 +0100)
commitd8a6a32ad74f3f5fce9108a28f59f50071461ef4
tree29982e862f5e9afef50d6869c3e4bf6638a992cf
parentfd0974cf3f4b1548d8ea261b6d76c14b8c94e6ab
DEV: tcploop: add optional support for epoll

When -e is passed, epoll is used instead of poll. The FD is added
then removed around the call to epoll_wait() so that we don't need
to track it. The only purpose is to compare events reported by each
syscall.
dev/tcploop/tcploop.c