From 49fc6c5c5cb951f808b7c89ccc0cf5b617605eff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20S=C3=A1nchez=20Parra?= Date: Fri, 16 Apr 2021 13:39:03 +0200 Subject: [PATCH] #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. --- src/rest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {