Commit Graph

3183 Commits

Author SHA1 Message Date
Christian Grothoff
6a1649f62f
check rval 2019-06-03 23:28:08 +02:00
Marcello Stanisci
4f17b17fe3
Moving checks where they belong. 2019-06-03 18:42:07 +02:00
Marcello Stanisci
60549a69c7
Fix return code check. 2019-06-03 18:21:04 +02:00
Christian Grothoff
96ccde10c8
initialize timestamp to obviously bogus value if /admin/add/incoming failed 2019-06-03 11:30:39 +02:00
Christian Grothoff
1ec2cb59b4
.argument field was never used, simplify logic 2019-06-03 11:27:03 +02:00
Christian Grothoff
01e8e930dc
add guard logic to check sizeof(value) is sufficient (should be -- size is 20, needed are 5, but still the new code is strictly safer even if slower) 2019-06-03 11:20:47 +02:00
Christian Grothoff
91ef87a804
fix potential free of uninitialized ptr, (on virtually impossible error handling path) 2019-06-03 11:17:40 +02:00
Christian Grothoff
256910e28d
getchar() result is intentionally discarded, make this clear 2019-06-03 11:17:40 +02:00
Marcello Stanisci
3dd913ec74
put fixme for #5746. 2019-06-03 11:06:11 +02:00
Christian Grothoff
c241694ccb
check more return values 2019-06-03 10:44:57 +02:00
Christian Grothoff
2cea0eb4d2
add missing 'static', ensure no NPE, fail nicely even on bad test input 2019-06-03 10:11:28 +02:00
Christian Grothoff
69c1ca4d23
check return value, always 2019-06-03 00:42:32 +02:00
Christian Grothoff
8d26ab35e0
check return value from GNUNET_PROGRAM_run in taler-wire 2019-06-03 00:31:19 +02:00
Christian Grothoff
7d142ad261
do not cut out &start= post-hum, just build the string right the first time 2019-06-03 00:26:53 +02:00
Christian Grothoff
f725593155
eliminate useless global variable TFH_handle_history_range_step 2019-06-03 00:25:11 +02:00
Christian Grothoff
f2ba3508b3
add missing unlock (on error path that is usually fatal anyway) 2019-06-03 00:13:48 +02:00
Florian Dold
535a656625
improve error message for wire response files 2019-05-29 17:28:28 +02:00
Marcello Stanisci
6096c1387c
teah_common.h -> taler_curl_lib.h 2019-05-24 16:49:25 +02:00
Marcello Stanisci
67dd3171d0
using legal lib names 2019-05-23 20:46:51 +02:00
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