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_refresh.c | |
parent | 95933156a6d477460a20225209f556208702d55e (diff) |
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_refresh.c')
-rw-r--r-- | src/lib/exchange_api_refresh.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/lib/exchange_api_refresh.c b/src/lib/exchange_api_refresh.c index 30025d778..d424015a2 100644 --- a/src/lib/exchange_api_refresh.c +++ b/src/lib/exchange_api_refresh.c @@ -1221,11 +1221,11 @@ TALER_EXCHANGE_refresh_melt (struct TALER_EXCHANGE_Handle *exchange, } json_decref (melt_obj); ctx = TEAH_handle_to_context (exchange); - rmh->job = GNUNET_CURL_job_add (ctx, - eh, - GNUNET_YES, - &handle_refresh_melt_finished, - rmh); + rmh->job = GNUNET_CURL_job_add2 (ctx, + eh, + rmh->ctx.headers, + &handle_refresh_melt_finished, + rmh); return rmh; } @@ -1651,11 +1651,11 @@ TALER_EXCHANGE_refresh_reveal (struct TALER_EXCHANGE_Handle *exchange, } json_decref (reveal_obj); ctx = TEAH_handle_to_context (rrh->exchange); - rrh->job = GNUNET_CURL_job_add (ctx, - eh, - GNUNET_YES, - &handle_refresh_reveal_finished, - rrh); + rrh->job = GNUNET_CURL_job_add2 (ctx, + eh, + rrh->ctx.headers, + &handle_refresh_reveal_finished, + rrh); return rrh; } |