static void
tfo_out_check(int sock)
{
+# ifdef __FreeBSD__
struct tcp_info tinfo;
int val;
socklen_t len = sizeof(val);
-# ifdef __FreeBSD__
/* The observability as of 12.1 is not useful as a client, only telling us that
a TFO option was used on SYN. It could have been a TFO-R, or ignored by the
server. */
# else /* Linux & Apple */
# if defined(TCP_INFO) && defined(EXIM_HAVE_TCPI_UNACKED)
+struct tcp_info tinfo;
+socklen_t len = sizeof(tinfo);
switch (tcp_out_fastopen)
{
rc = n;
}
else
-
+ {
rc = send(outblock->cctx->sock, outblock->buffer, n,
#ifdef MSG_MORE
more ? MSG_MORE : 0
0
#endif
);
+ }
}
if (rc <= 0)