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, curl_easy_setopt (eh,
CURLOPT_URL, CURLOPT_URL,
kr->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, kr->job = GNUNET_CURL_job_add (exchange->ctx,
eh, eh,
GNUNET_NO, GNUNET_NO,