summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_private-get-orders.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-06-12 10:22:12 +0200
committerChristian Grothoff <christian@grothoff.org>2020-06-12 10:22:12 +0200
commit175162ba4469d7a6bbee7dd9d5dcd2e2d9195e01 (patch)
treec0da50a9db916aeb3881f50b1ab218e5d6c76e62 /src/backend/taler-merchant-httpd_private-get-orders.c
parent3fd4ebf798ac13eea1b7c78d90d6c180afff298b (diff)
downloadmerchant-175162ba4469d7a6bbee7dd9d5dcd2e2d9195e01.tar.gz
merchant-175162ba4469d7a6bbee7dd9d5dcd2e2d9195e01.tar.bz2
merchant-175162ba4469d7a6bbee7dd9d5dcd2e2d9195e01.zip
do not forget to kick MHD
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-get-orders.c')
-rw-r--r--src/backend/taler-merchant-httpd_private-get-orders.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/backend/taler-merchant-httpd_private-get-orders.c b/src/backend/taler-merchant-httpd_private-get-orders.c
index e8351511..669a2e3b 100644
--- a/src/backend/taler-merchant-httpd_private-get-orders.c
+++ b/src/backend/taler-merchant-httpd_private-get-orders.c
@@ -162,6 +162,7 @@ order_timeout (void *cls)
po);
json_decref (po->pa);
MHD_resume_connection (po->con);
+ TMH_trigger_daemon (); /* we resumed, kick MHD */
GNUNET_free (po->instance_id);
GNUNET_free (po);
}
@@ -285,6 +286,7 @@ TMH_notify_order_change (const char *instance_id,
GNUNET_assert (po ==
GNUNET_CONTAINER_heap_remove_node (po->hn));
MHD_resume_connection (po->con);
+ TMH_trigger_daemon (); /* we resumed, kick MHD */
json_decref (po->pa);
GNUNET_free (po->instance_id);
GNUNET_free (po);