X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/02c30a32c6d1aeab0d3bc5f747016041a687c9dd..8761187029d998a942eaa1c0cc26592f52245446:/src/OS/os.h-Darwin diff --git a/src/OS/os.h-Darwin b/src/OS/os.h-Darwin index 67aeac913..a85e92f05 100644 --- a/src/OS/os.h-Darwin +++ b/src/OS/os.h-Darwin @@ -6,6 +6,7 @@ #define HAVE_SYS_MOUNT_H #define PAM_H_IN_PAM #define SIOCGIFCONF_GIVES_ADDR +#define EXIM_HAVE_OPENAT #define F_FREESP O_TRUNC @@ -51,10 +52,13 @@ in "man 2 getgroups". */ #define _DARWIN_UNLIMITED_GETGROUPS #define EXIM_GROUPLIST_SIZE 64 -/* TCP_FASTOPEN support. For the moment, claim there is none -(the probe fails; unsure why). -Sometime in the future need to investigate connectex(). */ +/* TCP Fast Open: Darwin uses a connectx() call +rather than a modified sendto() */ +#define EXIM_TFO_CONNECTX -#define EXIM_TFO_PROBE +/* MacOS, at least on the buildfarm animal, does not seem to push out +the SMTP response to QUIT with our usual handling which is trying to get +the client to FIN first so that the server does not get the TIME_WAIT */ +#define SERVERSIDE_CLOSE_NOWAIT /* End */