projects
/
oweals
/
uhttpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38aab51
)
ubus: use half of the script timeout as timeout for acl lookup call
author
Jo-Philipp Wich
<jow@openwrt.org>
Sat, 8 Jun 2013 07:48:35 +0000
(09:48 +0200)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sat, 8 Jun 2013 07:48:35 +0000
(09:48 +0200)
ubus.c
patch
|
blob
|
history
diff --git
a/ubus.c
b/ubus.c
index 5fdfb3a072ae44b05dd8d94825f1e12a88b853dd..303f05e4042eb432a4a72c8631f8d3eb8d73d80e 100644
(file)
--- a/
ubus.c
+++ b/
ubus.c
@@
-427,7
+427,7
@@
static bool uh_ubus_allowed(const char *sid, const char *obj, const char *fun)
blobmsg_add_string(&req, "object", obj);
blobmsg_add_string(&req, "function", fun);
- ubus_invoke(ctx, id, "access", req.head, uh_ubus_allowed_cb, &allow,
25
0);
+ ubus_invoke(ctx, id, "access", req.head, uh_ubus_allowed_cb, &allow,
conf.script_timeout * 50
0);
return allow;
}