Hi you are right I did not check properly, had a brain fog :) we can forget it. Thanks.
On Tue, 16 Jul 2024 at 03:59, Willy TARREAU <wtarr...@haproxy.com> wrote: > Hi David! > > On Mon, Jul 15, 2024 at 10:29:48PM +0100, David CARLIER wrote: > > Hi here a little patch proposal targeted for macOs. > > > > Cheers. > > > From df5741a0d391a7107157d0051ba81ef48d87b8f5 Mon Sep 17 00:00:00 2001 > > From: David Carlier <devne...@gmail.com> > > Date: Mon, 15 Jul 2024 22:20:33 +0100 > > Subject: [PATCH] BUILD/MEDIUM: haproxy : fix SO_LINGER usage on macOS. > > > > SO_LINGER on macOS works in term of clock ticks rather than seconds > > leading to behavior differences. SO_LINGER_SEC is available to > > be more in line so we create HA_SO_LINGER internal. > > How would that make any difference given that we're using it *only* > with zero ? From what I'm seeing both use the same "linger" struct > so 0 ticks or 0 seconds shouldn't make any difference. What different > behavior did you observe there ? > > thanks! > Willy >