merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit 4f8cb89a52858d646e1355f9c1c4f97ee77a4365
parent 1e10f069f6e808929386113fef992ded67d43d88
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu,  8 Apr 2021 12:01:09 +0200

possible fix for #6835

Diffstat:
Msrc/backend/taler-merchant-httpd_exchanges.c | 6++++++
Msrc/include/taler_merchant_service.h | 2+-
2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/backend/taler-merchant-httpd_exchanges.c b/src/backend/taler-merchant-httpd_exchanges.c @@ -974,6 +974,12 @@ keys_mgmt_cb (void *cls, delay = RELOAD_DELAY; else delay = GNUNET_TIME_absolute_get_remaining (expire); + if (0 == delay.rel_value_us) + { + GNUNET_log (GNUNET_ERROR_TYPE_ERROR, + "/keys response from exchange expired immediately! Retrying in 1 minute.\n"); + delay = GNUNET_TIME_UNIT_MINUTES; + } exchange->retry_delay = GNUNET_TIME_UNIT_ZERO; if (NULL != exchange->retry_task) GNUNET_SCHEDULER_cancel (exchange->retry_task); diff --git a/src/include/taler_merchant_service.h b/src/include/taler_merchant_service.h @@ -194,7 +194,7 @@ TALER_MERCHANT_parse_pay_uri (const char *pay_uri, /** * Frees data contained in the result of parsing a taler://pay URI. * - * @param parse_data the data to free. + * @param[in] parse_data the data to free. */ void TALER_MERCHANT_parse_pay_uri_free (