diff options
Diffstat (limited to 'src/exchange-lib/exchange_api_handle.c')
-rw-r--r-- | src/exchange-lib/exchange_api_handle.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/exchange-lib/exchange_api_handle.c b/src/exchange-lib/exchange_api_handle.c index cd07e2e8b..38d00b448 100644 --- a/src/exchange-lib/exchange_api_handle.c +++ b/src/exchange-lib/exchange_api_handle.c @@ -1176,6 +1176,7 @@ request_keys (void *cls) GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Requesting keys with URL `%s'.\n", kr->url); + eh = TALER_EXCHANGE eh = curl_easy_init (); GNUNET_assert (CURLE_OK == curl_easy_setopt (eh, @@ -1201,6 +1202,10 @@ request_keys (void *cls) curl_easy_setopt (eh, CURLOPT_ENCODING, "deflate")); + GNUNET_assert (CURLE_OK == + curl_easy_setopt (eh, + CURLOPT_TCP_FASTOPEN, + 1L)); kr->job = GNUNET_CURL_job_add (exchange->ctx, eh, GNUNET_NO, |