mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 14:21:25 +02:00
On Linux the interval before starting to send TCP keep-alive packets is defined by TCP_KEEPIDLE. MacOS has an equivalent with TCP_KEEPIDLE, which also uses seconds as a unit, so it's possible to simply remap the definition of TCP_KEEPIDLE to TCP_KEEPALIVE there and get it to seamlessly work. The other settings (interval and count) are not present, though.