diff options
author | Florian Dold <florian.dold@gmail.com> | 2018-09-21 19:35:50 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2018-09-21 19:35:50 +0200 |
commit | 94f24f012c1ea3dee9aa46e7b0515c4cd02fea22 (patch) | |
tree | 6856ec9e0e0bb09ee71c27c98437682e609e6e19 /src/exchange-lib/exchange_api_handle.c | |
parent | ca80a4f1c8598698812a1b9062f3e6318b6a8d3e (diff) |
use deflate for requesting /keys
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 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, |