From 2152274311499a2549593715bda05bcb16983596 Mon Sep 17 00:00:00 2001 From: Max Lv Date: Tue, 28 Nov 2017 16:53:48 +0800 Subject: [PATCH] Force to disable new TFO API on Android --- src/netutils.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/netutils.h b/src/netutils.h index aa8386a9..ebc29a9e 100644 --- a/src/netutils.h +++ b/src/netutils.h @@ -43,6 +43,9 @@ #ifndef MSG_FASTOPEN #define MSG_FASTOPEN 0x20000000 #endif +#ifdef TCP_FASTOPEN_CONNECT +#undef TCP_FASTOPEN_CONNECT +#endif #endif /* MPTCP_ENABLED setsockopt values for kernel 4 & 3, best behaviour to be independant of kernel version is to test from newest to the latest values */