diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2016-10-22 22:40:39 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2016-10-22 23:06:30 +0100 |
commit | 18f1b2f3f8829931ac096942ff2d1ef85ab5f891 (patch) | |
tree | 11d8822ec123f40c74ae2db54fd6b225e9ca6c5f /src/src/ip.c | |
parent | f175bef138f45415b9559ee47c7be342ecb95ae0 (diff) |
TFO: Support compilation on systems which define TCP_FASTOPEN but not MSG_FASTOPEN
RHEL 7.0 does that, oddly
Diffstat (limited to 'src/src/ip.c')
-rw-r--r-- | src/src/ip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/ip.c b/src/src/ip.c index b744f5d4c..a8230a149 100644 --- a/src/src/ip.c +++ b/src/src/ip.c @@ -224,7 +224,7 @@ callout_address = string_sprintf("[%s]:%d", address, port); sigalrm_seen = FALSE; if (timeout > 0) alarm(timeout); -#ifdef TCP_FASTOPEN +#if defined(TCP_FASTOPEN) && defined(MSG_FASTOPEN) /* TCP Fast Open, if the system has a cookie from a previous call to this peer, can send data in the SYN packet. The peer can send data before it gets our ACK of its SYN,ACK - the latter is useful for |