commit | 4aed40e6c74f4157fc215913e22648c670fe1ffb | [log] [tgz] |
---|---|---|
author | David CARLIER <devnexen@gmail.com> | Sun May 01 15:29:58 2022 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sun May 08 10:35:39 2022 +0200 |
tree | 4a2ade858ec3c26ea87760fb69aeb6d989526188 | |
parent | 8f7133e242b5f4c07dd7f9fda26a9eb7adf7bfbc [diff] |
MINOR: tcp: socket translate TCP_KEEPIDLE for macOs equivalent 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.