On Sun, May 08, 2022 at 12:39:13PM +0200, Vincent Bernat wrote: > ? 8 May 2022 10:57 +02, Willy Tarreau: > > > After edition (still minimal and possibly inaccurate but the best I > > could do): > > > > 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. > > First instance of TCP_KEEPIDLE should be TCP_KEEPALIVE. ;-)
Oops, thanks, that's exactly why I hate having to document others' work myself. It's so easy to get something wrong :-/ Willy