ubus: increase maximum ubus request size to 64KB
authorJo-Philipp Wich <jo@mein.io>
Sat, 17 Aug 2019 19:53:38 +0000 (21:53 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sat, 17 Aug 2019 19:53:38 +0000 (21:53 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
ubus.c

diff --git a/ubus.c b/ubus.c
index 8cfbd97968351edb75bb9c86815606059d8e8113..8578631ba94a3d946e6e161581a1fe3ce4af3158 100644 (file)
--- a/ubus.c
+++ b/ubus.c
@@ -34,7 +34,7 @@ static struct config *_conf;
 static struct ubus_context *ctx;
 static struct blob_buf buf;
 
-#define UH_UBUS_MAX_POST_SIZE  4096
+#define UH_UBUS_MAX_POST_SIZE  65536
 #define UH_UBUS_DEFAULT_SID    "00000000000000000000000000000000"
 
 enum {