diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2019-05-17 16:30:37 +0200 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2019-05-17 16:30:37 +0200 |
commit | 69f1863d899f93a380fbe6be7a73a6467b2a61c3 (patch) | |
tree | a85411bec96b5061966415c052aae0b019854e8d /src/lib/exchange_api_reserve.c | |
parent | 95933156a6d477460a20225209f556208702d55e (diff) | |
download | exchange-69f1863d899f93a380fbe6be7a73a6467b2a61c3.tar.xz |
Compression.
Inclusion of 'content-encoding: deflate' header now (really) happens
per request, and not "per state" (where any request got this header
appended and broke those unaware requests that didn't compress their
data.)
Diffstat (limited to 'src/lib/exchange_api_reserve.c')
-rw-r--r-- | src/lib/exchange_api_reserve.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/exchange_api_reserve.c b/src/lib/exchange_api_reserve.c index ae0bd01d0..d39d2c4ce 100644 --- a/src/lib/exchange_api_reserve.c +++ b/src/lib/exchange_api_reserve.c @@ -1044,11 +1044,11 @@ reserve_withdraw_internal (struct TALER_EXCHANGE_Handle *exchange, } json_decref (withdraw_obj); ctx = TEAH_handle_to_context (exchange); - wsh->job = GNUNET_CURL_job_add (ctx, - eh, - GNUNET_YES, - &handle_reserve_withdraw_finished, - wsh); + wsh->job = GNUNET_CURL_job_add2 (ctx, + eh, + wsh->ctx.headers, + &handle_reserve_withdraw_finished, + wsh); return wsh; } |