diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-05-01 23:13:18 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-05-01 23:13:18 +0200 |
commit | d821ecc3bb23df1a326fcbdf4cb08841322db7aa (patch) | |
tree | 296545067476098b4f8835ca80826368f8c08954 /src | |
parent | feec6e30e6a6732b3005305f80ecdc30b01f7e4e (diff) |
Remove bogus ifdef for tcp fast open
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/auditor_api_curl_defaults.c | 2 | ||||
-rw-r--r-- | src/lib/exchange_api_curl_defaults.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/auditor_api_curl_defaults.c b/src/lib/auditor_api_curl_defaults.c index d5b924008..507ae0e55 100644 --- a/src/lib/auditor_api_curl_defaults.c +++ b/src/lib/auditor_api_curl_defaults.c @@ -44,12 +44,10 @@ TAL_curl_easy_get (const char *url) curl_easy_setopt (eh, CURLOPT_ENCODING, "deflate")); -#ifdef CURLOPT_TCP_FASTOPEN GNUNET_assert (CURLE_OK == curl_easy_setopt (eh, CURLOPT_TCP_FASTOPEN, 1L)); -#endif { /* Unfortunately libcurl needs chunk to be alive until after curl_easy_perform. To avoid manual cleanup, we keep diff --git a/src/lib/exchange_api_curl_defaults.c b/src/lib/exchange_api_curl_defaults.c index 3ac1dfdbe..57fae166d 100644 --- a/src/lib/exchange_api_curl_defaults.c +++ b/src/lib/exchange_api_curl_defaults.c @@ -49,11 +49,9 @@ TEL_curl_easy_get (const char *url) curl_easy_setopt (eh, CURLOPT_FOLLOWLOCATION, 1L)); -#ifdef CURLOPT_TCP_FASTOPEN GNUNET_assert (CURLE_OK == curl_easy_setopt (eh, CURLOPT_TCP_FASTOPEN, 1L)); -#endif return eh; } |