Fix ClamAV command send
[exim.git] / src / OS / os.h-Darwin
index 67aeac913727263c3edff597d4f2c61d1cd95a28..a85e92f0567f146d477bf3460bce4a7ae3ec84d4 100644 (file)
@@ -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 */