From ad12b72a8035c89c673019d3068fe977cc159706 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 26 Dec 2020 16:40:43 +0100 Subject: handle GONE, specified legal value now --- src/lib/auditor_api_deposit_confirmation.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/lib/auditor_api_deposit_confirmation.c') diff --git a/src/lib/auditor_api_deposit_confirmation.c b/src/lib/auditor_api_deposit_confirmation.c index aee8850d4..b2126230a 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, -- cgit v1.2.3