[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-sync] branch master updated: fix #6658
From: |
gnunet |
Subject: |
[taler-sync] branch master updated: fix #6658 |
Date: |
Tue, 01 Dec 2020 19:36:30 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository sync.
The following commit(s) were added to refs/heads/master by this push:
new ddf4eba fix #6658
ddf4eba is described below
commit ddf4eba34eba6e9240e476a3666a162c07b35303
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Tue Dec 1 19:27:50 2020 +0100
fix #6658
---
src/sync/sync-httpd.c | 15 +++++----------
1 file changed, 5 insertions(+), 10 deletions(-)
diff --git a/src/sync/sync-httpd.c b/src/sync/sync-httpd.c
index 58b7f99..4608d62 100644
--- a/src/sync/sync-httpd.c
+++ b/src/sync/sync-httpd.c
@@ -156,11 +156,6 @@ url_handler (void *cls,
&SH_handler_terms, MHD_HTTP_OK },
{NULL, NULL, NULL, NULL, 0, 0 }
};
- static struct SH_RequestHandler h400 = {
- "", NULL, "text/plain",
- "Invalid account key", 0,
- &SH_MHD_handler_static_response, MHD_HTTP_BAD_REQUEST
- };
static struct SH_RequestHandler h404 = {
"", NULL, "text/html",
"<html><title>404: not found</title></html>", 0,
@@ -219,11 +214,11 @@ url_handler (void *cls,
strlen (ac),
&account_pub.eddsa_pub))
{
- return SH_MHD_handler_static_response (&h400,
- connection,
- con_cls,
- upload_data,
- upload_data_size);
+ GNUNET_break_op (0);
+ return TALER_MHD_reply_with_error (connection,
+ MHD_HTTP_BAD_REQUEST,
+ TALER_EC_GENERIC_PARAMETER_MALFORMED,
+ ac);
}
if (0 == strcasecmp (method,
MHD_HTTP_METHOD_OPTIONS))
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-sync] branch master updated: fix #6658,
gnunet <=