From 0a09c5b09c4013b79648ab091495c767ef06c315 Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Thu, 4 Feb 2021 13:29:18 +0100 Subject: #1022 increase maximum API REST request size Software inventory generates a request larger that 64 Kbytes. Rise the maximum API REST request size to 128 Kbytes. --- src/rest.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/rest.h b/src/rest.h index 58d25c7..b8e4500 100644 --- a/src/rest.h +++ b/src/rest.h @@ -37,7 +37,7 @@ enum og_cmd_type { OG_CMD_MAX }; -#define OG_MSG_REQUEST_MAXLEN 65536 +#define OG_MSG_REQUEST_MAXLEN 131072 struct og_client { struct list_head list; -- cgit v1.2.3-18-g5258