From 995c8c9ce229d3ad25eeda53a0fbeda5cafa4f05 Mon Sep 17 00:00:00 2001 From: Phil Date: Wed, 8 Aug 2018 23:25:44 +0200 Subject: [PATCH] -fix added timeout for gns Rest plugin --- src/gns/plugin_rest_gns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gns/plugin_rest_gns.c b/src/gns/plugin_rest_gns.c index 495d01504..41b855743 100644 --- a/src/gns/plugin_rest_gns.c +++ b/src/gns/plugin_rest_gns.c @@ -388,7 +388,7 @@ rest_process_request(struct GNUNET_REST_RequestHandle *rest_handle, struct RequestHandle *handle = GNUNET_new (struct RequestHandle); handle->response_code = 0; - handle->timeout = GNUNET_TIME_UNIT_FOREVER_REL; + handle->timeout = GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 60); handle->proc_cls = proc_cls; handle->proc = proc; handle->rest_handle = rest_handle; -- 2.25.1