]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: checks: avoid waking the application up for pure TCP checks
authorWilly Tarreau <w@1wt.eu>
Fri, 23 Nov 2012 13:16:39 +0000 (14:16 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 23 Nov 2012 13:18:39 +0000 (14:18 +0100)
commit24db47e0cc590a07af8fc086da771e30c0c3e392
tree52b8adfb7ed21b3ff2a6a5a4648e5630bb781289
parentacbdc7a7603a0c1d55fd52e3d4f8390105849f9d
MEDIUM: checks: avoid waking the application up for pure TCP checks

Pure TCP checks only use the SYN/ACK in return to a SYN. By forcing
the system to use delayed ACKs, it is possible to send an RST instead
of the ACK and thus ensure that the application will never be needlessly
woken up. This avoids error logs or counters on checked components since
the application is never made aware of this connection which dies in the
network stack.
src/checks.c
src/proto_tcp.c