Browse Source

ubus: increase maximum ubus request size to 64KB

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich 4 years ago
parent
commit
6b03f96053
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ubus.c

+ 1 - 1
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 {