diff options
author | Alessandro Ghedini <alessandro@ghedini.me> | 2016-04-03 13:08:28 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-04-18 23:21:50 +0200 |
commit | 03de4e4b2192bec7de94d2d5abd2a25f86c17ac3 (patch) | |
tree | 689fd77d0022d451ed0d1a5947519ac493cedc49 /lib/url.c | |
parent | d49087f6bc95d159eeb1172173fc1e95411041fa (diff) |
connect: implement TCP Fast Open for Linux
Closes #660
Diffstat (limited to 'lib/url.c')
-rw-r--r-- | lib/url.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2633,7 +2633,7 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, data->set.tcp_keepintvl = va_arg(param, long); break; case CURLOPT_TCP_FASTOPEN: -#if defined(CONNECT_DATA_IDEMPOTENT) +#if defined(CONNECT_DATA_IDEMPOTENT) || defined(MSG_FASTOPEN) data->set.tcp_fastopen = (0 != va_arg(param, long))?TRUE:FALSE; #else result = CURLE_NOT_BUILT_IN; |