diff options
author | Florian Dold <florian.dold@gmail.com> | 2018-09-21 20:07:07 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2018-09-21 20:07:07 +0200 |
commit | 9e60296f92cb75ad10bfe23f6b84227d4d1cc222 (patch) | |
tree | b5325300c83ed09d5e657b70d5a7f636d7fd3865 /src/exchange-lib/exchange_api_wire.c | |
parent | 94f24f012c1ea3dee9aa46e7b0515c4cd02fea22 (diff) | |
download | exchange-9e60296f92cb75ad10bfe23f6b84227d4d1cc222.tar.xz |
use deflate in exchange-api
Diffstat (limited to 'src/exchange-lib/exchange_api_wire.c')
-rw-r--r-- | src/exchange-lib/exchange_api_wire.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/exchange-lib/exchange_api_wire.c b/src/exchange-lib/exchange_api_wire.c index 673f79ae5..fe6e1c5e4 100644 --- a/src/exchange-lib/exchange_api_wire.c +++ b/src/exchange-lib/exchange_api_wire.c @@ -412,6 +412,10 @@ TALER_EXCHANGE_wire (struct TALER_EXCHANGE_Handle *exchange, curl_easy_setopt (eh, CURLOPT_URL, wh->url)); + GNUNET_assert (CURLE_OK == + curl_easy_setopt (eh, + CURLOPT_ENCODING, + "deflate")); ctx = MAH_handle_to_context (exchange); wh->job = GNUNET_CURL_job_add (ctx, eh, |