[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-twister] branch master updated (c34ddff -> 65bd48c)
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-twister] branch master updated (c34ddff -> 65bd48c) |
Date: |
Thu, 16 May 2019 11:58:29 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a change to branch master
in repository twister.
from c34ddff Creating more machine states.
new 215029d Only set Content-Length via CURLOPT_POSTFIELDSIZE.
new 65bd48c fix name
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
src/twister/taler-twister-service.c | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/src/twister/taler-twister-service.c
b/src/twister/taler-twister-service.c
index 82a009a..720072b 100644
--- a/src/twister/taler-twister-service.c
+++ b/src/twister/taler-twister-service.c
@@ -904,17 +904,13 @@ con_val_iter (void *cls,
return MHD_YES;
}
- if (GNUNET_YES == malform_upload)
+ if ((0 == strcmp (MHD_HTTP_HEADER_CONTENT_LENGTH,
+ key)))
{
- if (0 == strcmp ("Content-Length", key))
- {
- GNUNET_asprintf (&new_value,
- "%lu",
- malformed_size);
- value = new_value;
- malform_upload = GNUNET_NO;
- }
+ TALER_LOG_INFO ("Do not re-set Content-Length for request
(CURLOPT_POSTFIELDSIZE did)\n");
+ return MHD_YES;
}
+
GNUNET_asprintf (&hdr,
"%s: %s",
key,
@@ -1478,6 +1474,7 @@ create_response (void *cls,
malformed_size = GNUNET_CRYPTO_random_u32
(GNUNET_CRYPTO_QUALITY_WEAK, hr->io_len);
hr->io_len = malformed_size;
+ malform_upload = GNUNET_NO;
}
if ('\0' != flip_path_ul[0])
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [taler-twister] branch master updated (c34ddff -> 65bd48c),
gnunet <=