[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: REST/GNS: timeout handle
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: REST/GNS: timeout handle |
Date: |
Tue, 30 Apr 2019 22:46:42 +0200 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 9bb745042 REST/GNS: timeout handle
9bb745042 is described below
commit 9bb74504227de02e04600af6ddfdf7ff8857515f
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Tue Apr 30 22:46:23 2019 +0200
REST/GNS: timeout handle
---
src/gns/plugin_rest_gns.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/gns/plugin_rest_gns.c b/src/gns/plugin_rest_gns.c
index 21638fdf6..888688798 100644
--- a/src/gns/plugin_rest_gns.c
+++ b/src/gns/plugin_rest_gns.c
@@ -190,6 +190,9 @@ do_error (void *cls)
json_t *json_error = json_object();
char *response;
+ if (NULL != handle->timeout_task)
+ GNUNET_SCHEDULER_cancel (handle->timeout_task);
+ handle->timeout_task = NULL;
if (NULL == handle->emsg)
handle->emsg = GNUNET_strdup(GNUNET_REST_GNS_ERROR_UNKNOWN);
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: REST/GNS: timeout handle,
gnunet <=