From 8c0719db1f153106ea69a7224694f4a39394707a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 19 May 2021 15:14:12 +0200 Subject: add test for #6876, and minor fixes --- src/lib/merchant_api_post_transfers.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/lib') diff --git a/src/lib/merchant_api_post_transfers.c b/src/lib/merchant_api_post_transfers.c index e78cb36d..3a775b90 100644 --- a/src/lib/merchant_api_post_transfers.c +++ b/src/lib/merchant_api_post_transfers.c @@ -209,6 +209,12 @@ handle_post_transfers_finished (void *cls, hr.ec = TALER_JSON_get_error_code (json); hr.hint = TALER_JSON_get_error_hint (json); break; + case MHD_HTTP_GATEWAY_TIMEOUT: + /* Server had an internal issue; we should retry, but this API + leaves this to the application */ + hr.ec = TALER_JSON_get_error_code (json); + hr.hint = TALER_JSON_get_error_hint (json); + break; default: /* unexpected response code */ GNUNET_break_op (0); -- cgit v1.2.3