[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] branch master updated: set async scope ID when entering
From: |
gnunet |
Subject: |
[taler-merchant] branch master updated: set async scope ID when entering MHD completion callback |
Date: |
Mon, 01 Mar 2021 14:46:18 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository merchant.
The following commit(s) were added to refs/heads/master by this push:
new d08fe7d7 set async scope ID when entering MHD completion callback
d08fe7d7 is described below
commit d08fe7d715adcf093f21b0abbbeed0b781314819
Author: Florian Dold <florian@dold.me>
AuthorDate: Mon Mar 1 14:46:13 2021 +0100
set async scope ID when entering MHD completion callback
---
src/backend/taler-merchant-httpd.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/backend/taler-merchant-httpd.c
b/src/backend/taler-merchant-httpd.c
index 45d7ed07..7f9f8e3b 100644
--- a/src/backend/taler-merchant-httpd.c
+++ b/src/backend/taler-merchant-httpd.c
@@ -774,6 +774,7 @@ handle_mhd_completion_callback (void *cls,
if (NULL == hc)
return;
+ GNUNET_SCHEDULER_begin_async_scope (&hc->async_scope_id);
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Finished handling request for `%s' with MHD termination code
%d\n",
hc->url,
@@ -786,6 +787,9 @@ handle_mhd_completion_callback (void *cls,
json_decref (hc->request_body);
if (NULL != hc->instance)
TMH_instance_decref (hc->instance);
+ memset (&hc->async_scope_id,
+ 0,
+ sizeof (struct GNUNET_AsyncScopeId));
GNUNET_free (hc);
*con_cls = NULL;
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-merchant] branch master updated: set async scope ID when entering MHD completion callback,
gnunet <=