merchant

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

commit 099a7a071b78be5a87a0366922dc012040cb37de
parent 3bb7e18d46db9a8f59fedb533dd1e4e7c6d4afc1
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Sat, 14 Feb 2026 21:55:40 +0100

undo last patch, better fix pushed to exchange

Diffstat:
Msrc/backend/taler-merchant-httpd_private-get-statistics-report-transactions.c | 16+++++-----------
1 file changed, 5 insertions(+), 11 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_private-get-statistics-report-transactions.c b/src/backend/taler-merchant-httpd_private-get-statistics-report-transactions.c @@ -727,11 +727,6 @@ TMH_private_get_statistics_report_transactions ( .data = root }; - GNUNET_CONTAINER_DLL_insert (rctx_head, - rctx_tail, - rctx); - rctx->suspended = GNUNET_YES; - MHD_suspend_connection (connection); rctx->tc = TALER_MHD_typst (TMH_cfg, false, /* remove on exit */ "merchant", @@ -742,12 +737,6 @@ TMH_private_get_statistics_report_transactions ( json_decref (root); if (NULL == rctx->tc) { - GNUNET_CONTAINER_DLL_remove (rctx_head, - rctx_tail, - rctx); - rctx->suspended = GNUNET_NO; - MHD_resume_connection (rctx->hc->connection); - TALER_MHD_daemon_trigger (); GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Client requested PDF, but Typst is unavailable\n"); return TALER_MHD_reply_with_error ( @@ -756,6 +745,11 @@ TMH_private_get_statistics_report_transactions ( TALER_EC_EXCHANGE_GENERIC_NO_TYPST_OR_PDFTK, NULL); } + GNUNET_CONTAINER_DLL_insert (rctx_head, + rctx_tail, + rctx); + rctx->suspended = GNUNET_YES; + MHD_suspend_connection (connection); return MHD_YES; } } /* end switch */