handle GONE, specified legal value now

This commit is contained in:
Christian Grothoff 2020-12-26 16:40:43 +01:00
parent 77d49bf4a7
commit ad12b72a80
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -120,6 +120,13 @@ handle_deposit_confirmation_finished (void *cls,
/* Nothing really to verify, this should never /* Nothing really to verify, this should never
happen, we should pass the JSON reply to the application */ happen, we should pass the JSON reply to the application */
break; 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: case MHD_HTTP_INTERNAL_SERVER_ERROR:
hr.ec = TALER_JSON_get_error_code (json); hr.ec = TALER_JSON_get_error_code (json);
hr.hint = TALER_JSON_get_error_hint (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", "Unexpected response code %u/%d for auditor deposit confirmation\n",
(unsigned int) response_code, (unsigned int) response_code,
hr.ec); hr.ec);
GNUNET_break_op (0);
break; break;
} }
dh->cb (dh->cb_cls, dh->cb (dh->cb_cls,