projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d23990
)
-fix added timeout for gns Rest plugin
author
Phil
<phil.buschmann@tum.de>
Wed, 8 Aug 2018 21:25:44 +0000
(23:25 +0200)
committer
Phil
<phil.buschmann@tum.de>
Wed, 8 Aug 2018 21:25:44 +0000
(23:25 +0200)
src/gns/plugin_rest_gns.c
patch
|
blob
|
history
diff --git
a/src/gns/plugin_rest_gns.c
b/src/gns/plugin_rest_gns.c
index 495d01504aa82187756387754f4345ce7daeab4d..41b85574368b6474d727f0f0df17a427d83d20dd 100644
(file)
--- 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;