#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.
master
Javier Sánchez Parra 2021-04-16 13:39:03 +02:00 committed by OpenGnSys Support Team
parent 90eab86796
commit 49fc6c5c5c
1 changed files with 1 additions and 1 deletions

View File

@ -348,7 +348,7 @@ struct og_buffer {
int len; 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) static int og_json_dump_clients(const char *buffer, size_t size, void *data)
{ {