use tcp fast open for /keys request
This commit is contained in:
parent
9e60296f92
commit
0a4ce8475a
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user