gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: -use sane bound


From: gnunet
Subject: [taler-exchange] branch master updated: -use sane bound
Date: Sun, 12 Nov 2023 11:39:41 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new caf84957 -use sane bound
caf84957 is described below

commit caf84957b92b32aa81b7d8687a7bed9fd9c42bc4
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Nov 12 10:39:38 2023 +0100

    -use sane bound
---
 src/exchange/taler-exchange-httpd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/exchange/taler-exchange-httpd.c 
b/src/exchange/taler-exchange-httpd.c
index 34dda85b..1118f7f9 100644
--- a/src/exchange/taler-exchange-httpd.c
+++ b/src/exchange/taler-exchange-httpd.c
@@ -1728,14 +1728,14 @@ handle_mhd_request (void *cls,
       .url = "kyc-webhook",
       .method = MHD_HTTP_METHOD_GET,
       .handler.get = &TEH_handler_kyc_webhook_get,
-      .nargs = UINT_MAX,
+      .nargs = 16, /* more is not plausible */
       .nargs_is_upper_bound = true
     },
     {
       .url = "kyc-webhook",
       .method = MHD_HTTP_METHOD_POST,
       .handler.post = &TEH_handler_kyc_webhook_post,
-      .nargs = UINT_MAX,
+      .nargs = 16, /* more is not plausible */
       .nargs_is_upper_bound = true
     },
     /* POST management endpoints */

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]