diff options
author | Javier Sánchez Parra <jsanchez@soleta.eu> | 2021-04-16 13:39:03 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2021-04-19 12:01:39 +0200 |
commit | 49fc6c5c5cb951f808b7c89ccc0cf5b617605eff (patch) | |
tree | b85151bba7377546605ccf48121dab6ae1f1819b | |
parent | 90eab8679625d4a6d5d32b3e4fae498a48a68145 (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.
-rw-r--r-- | src/rest.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |