Commit Graph

5064 Commits

Author SHA1 Message Date
Marcello Stanisci
5f6d706422
Export compressing routine. 2019-05-23 20:29:50 +02:00
Marcello Stanisci
69f1863d89
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.)
2019-05-17 16:30:37 +02:00
Marcello Stanisci
95933156a6
Fix compression.
The "Content-Encoding: deflate" header is now added from
within the compression routine itself, and _not_ from the
"exchange handle".

This fixed the bank-lib functions as those do not use any
exchange handle, and therefore were wrongly sending compressed
bodies without adding the mentioned HTTP header.
2019-05-16 16:58:09 +02:00
Marcello Stanisci
8d34b22aff
Content-encoding -> Content-Encoding.
So as to match the MHD_HTTP_HEADER_CONTENT_ENCODING macro.
2019-05-15 19:32:20 +02:00
Marcello Stanisci
e6c1d262a8
Never set HTTP headers before invoking libgnunetcurl. 2019-05-13 17:39:06 +02:00
Florian Dold
8868952735
bank-lib: fix context 2019-05-12 22:20:36 +02:00
Florian Dold
3709cded4b
gitignore 2019-05-12 22:20:16 +02:00
Florian Dold
7fa67030a8
hack in bank-lib compression 2019-05-12 21:59:59 +02:00
Christian Grothoff
4b36b6c964
replace if with AS_IF (fixes #5709 for exchange) 2019-05-12 21:48:16 +02:00
Christian Grothoff
652659a8d4
replace if with AS_IF (#5709, wip) 2019-05-12 21:48:16 +02:00
Christian Grothoff
bc29ca4080
replace if with AS_IF (#5709, wip) 2019-05-12 21:48:16 +02:00
Christian Grothoff
5740f5b639
replace if with AS_IF (#5709, wip) 2019-05-12 21:48:16 +02:00
Christian Grothoff
335f82d081
replace if with AS_IF (#5709, wip) 2019-05-12 21:48:16 +02:00
Florian Dold
081280a88b
Create async scopes.
Log statements contain an async scope identifier, which allows to
correlate logs from the same request.
2019-05-10 20:11:29 +02:00
Florian Dold
b8a718f859
Remove non-working curl config
These headers are overwritten by GNUNET's curl context, setting them
here is useless.
2019-05-10 18:44:44 +02:00
ng0
3f9aafdc72
doc fixes in format and typos. 2019-05-10 10:56:49 +00:00
Christian Grothoff
39263a48d3
fix #5716 2019-05-09 12:55:22 +02:00
ng0
105555b469
Merge branch 'master' of git.taler.net:exchange 2019-05-07 14:35:32 +00:00
ng0
0d8f503543
doc: rewrite. 2019-05-07 14:34:49 +00:00
Christian Grothoff
a16c32a474
add compression support for bodies of POST/PUT operations 2019-05-03 17:37:07 +02:00
Florian Dold
5dd3c2191a
benchmark: don't print result as exchange worker 2019-05-02 23:45:31 +02:00
Christian Grothoff
9c194f79a5
adapt to GNUnet API change 2019-05-02 22:25:47 +02:00
Christian Grothoff
de9fdf860a
replace denom_pub with denom_pub_hash in exchange API to reduce bandwidth 2019-05-02 21:16:51 +02:00
Florian Dold
d821ecc3bb
Remove bogus ifdef for tcp fast open 2019-05-01 23:13:18 +02:00
Florian Dold
feec6e30e6
benchmark: terminate exchange slave properly 2019-05-01 20:52:43 +02:00
Florian Dold
88f9e693f6
benchmar: wait for exchange worker to terminate 2019-05-01 19:44:00 +02:00
Florian Dold
8e391e8bfb
Don't free null strings.
When running in client-only mode, this string will never be allocated,
but the code tried to free it ...
2019-05-01 04:00:29 +02:00
Florian Dold
cce67665f7
save and restore CFLAGS/LDFLAGS/LIBS when checking for gnurl/curl 2019-05-01 02:41:50 +02:00
ng0
6e33de941e
Merge branch 'master' of git.taler.net:exchange 2019-04-30 21:30:46 +00:00
ng0
13cf7ee0cb
refactor for GNUNET_memcmp 2019-04-30 21:30:33 +00:00
Florian Dold
4cd340e543
fix madness in configure.ac 2019-04-30 22:41:01 +02:00
Christian Grothoff
4bfd8bcd45
del 2019-04-24 19:28:31 +02:00
ng0
e1cf1a48af
refactor for GNUnet_memcmp 2019-04-23 18:03:16 +00:00
ng0
ddea1bf407
refactor link_bc() for GNUnet_memcmp 2019-04-23 17:58:38 +00:00
Christian Grothoff
9c515d218b
use uint64_t for serial_id 2019-04-22 21:35:19 +02:00
Marcello Stanisci
4c9c7482f9
Install taler-bank-transfer again. Needed by reserve topper. 2019-04-19 19:08:25 +02:00
Christian Grothoff
3cf3c580a9
memcmp 2019-04-18 17:30:53 +02:00
Christian Grothoff
d82068a121
memcmp 2019-04-18 17:28:15 +02:00
Christian Grothoff
32a3a0ffb0
add post HTTP request check for hanging transactions 2019-04-18 14:38:32 +02:00
Marcello Stanisci
5d3ae9655e
Wire plugin.
Put logic to use the history-range API.
2019-04-18 13:33:59 +02:00
ng0
1fdec6b1bf
Refactor for GNUNET_memcmp 2019-04-17 19:25:43 +00:00
ng0
ee9cff3555
Refactor for GNUNET_memcmp 2019-04-17 19:25:24 +00:00
ng0
28123fd1fc
Refactor for GNUNET_memcmp 2019-04-17 19:25:08 +00:00
ng0
c1d6806b57
Refactor for GNUNET_memcmp 2019-04-17 18:13:14 +00:00
ng0
a02af1f505
Refactor test_exchangedb for GNUNET_memcmp 2019-04-15 20:23:53 +00:00
Marcello Stanisci
c93e699d58
Still on making the compiler happy. 2019-04-12 16:20:24 +02:00
Marcello Stanisci
054fe2fb05
Address more warnings on types. 2019-04-12 15:56:48 +02:00
Marcello Stanisci
9b33452ad5
Introduce new "history range" wire API. 2019-04-11 18:06:19 +02:00
Marcello Stanisci
ba4ded3d6e
Re-enabling keys serialization test. 2019-04-11 17:42:58 +02:00
Marcello Stanisci
25f444a361
Address compilation warnings. 2019-04-11 00:33:01 +02:00