summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2021-04-16 13:39:03 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2021-04-19 12:01:39 +0200
commit49fc6c5c5cb951f808b7c89ccc0cf5b617605eff (patch)
treeb85151bba7377546605ccf48121dab6ae1f1819b /src
parent90eab8679625d4a6d5d32b3e4fae498a48a68145 (diff)
#915 increase maximum API REST response size
GET /scope could generate a response larger than 64 Kbytes. Rise the maximum API REST response size to 256 Kbytes.
Diffstat (limited to 'src')
-rw-r--r--src/rest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rest.c b/src/rest.c
index f778bc2..423a6cd 100644
--- a/src/rest.c
+++ b/src/rest.c
@@ -348,7 +348,7 @@ struct og_buffer {
int len;
};
-#define OG_MSG_RESPONSE_MAXLEN 65536
+#define OG_MSG_RESPONSE_MAXLEN 262144
static int og_json_dump_clients(const char *buffer, size_t size, void *data)
{