gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: handle GONE, specified legal val


From: gnunet
Subject: [taler-exchange] branch master updated: handle GONE, specified legal value now
Date: Sat, 26 Dec 2020 16:40:45 +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 ad12b72a handle GONE, specified legal value now
ad12b72a is described below

commit ad12b72a8035c89c673019d3068fe977cc159706
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Dec 26 16:40:43 2020 +0100

    handle GONE, specified legal value now
---
 src/lib/auditor_api_deposit_confirmation.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/lib/auditor_api_deposit_confirmation.c 
b/src/lib/auditor_api_deposit_confirmation.c
index aee8850d..b2126230 100644
--- a/src/lib/auditor_api_deposit_confirmation.c
+++ b/src/lib/auditor_api_deposit_confirmation.c
@@ -120,6 +120,13 @@ handle_deposit_confirmation_finished (void *cls,
     /* Nothing really to verify, this should never
        happen, we should pass the JSON reply to the application */
     break;
+  case MHD_HTTP_GONE:
+    hr.ec = TALER_JSON_get_error_code (json);
+    hr.hint = TALER_JSON_get_error_hint (json);
+    /* Nothing really to verify, auditor says one of the signatures is
+       invalid; as we checked them, this should never happen, we
+       should pass the JSON reply to the application */
+    break;
   case MHD_HTTP_INTERNAL_SERVER_ERROR:
     hr.ec = TALER_JSON_get_error_code (json);
     hr.hint = TALER_JSON_get_error_hint (json);
@@ -134,7 +141,6 @@ handle_deposit_confirmation_finished (void *cls,
                 "Unexpected response code %u/%d for auditor deposit 
confirmation\n",
                 (unsigned int) response_code,
                 hr.ec);
-    GNUNET_break_op (0);
     break;
   }
   dh->cb (dh->cb_cls,

-- 
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]