use deflate for requesting /keys

This commit is contained in:
Florian Dold 2018-09-21 19:35:50 +02:00
parent ca80a4f1c8
commit 94f24f012c
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -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,