From 94f24f012c1ea3dee9aa46e7b0515c4cd02fea22 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Fri, 21 Sep 2018 19:35:50 +0200 Subject: [PATCH] use deflate for requesting /keys --- src/exchange-lib/exchange_api_handle.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/exchange-lib/exchange_api_handle.c b/src/exchange-lib/exchange_api_handle.c index 392a505c6..bf52ac690 100644 --- a/src/exchange-lib/exchange_api_handle.c +++ b/src/exchange-lib/exchange_api_handle.c @@ -1197,6 +1197,11 @@ request_keys (void *cls) curl_easy_setopt (eh, CURLOPT_URL, kr->url)); + /* FIXME: do elsewhere as well */ + GNUNET_assert (CURLE_OK == + curl_easy_setopt (eh, + CURLOPT_ENCODING, + "deflate")); kr->job = GNUNET_CURL_job_add (exchange->ctx, eh, GNUNET_NO,