Skip to content

Commit

Permalink
app: increase max configuration parameters length
Browse files Browse the repository at this point in the history
The maximum length of box.cfg{} string parameters is now 512 instead of
256 before.

NO_DOC=no need to document
NO_TEST=will be added in EE
  • Loading branch information
ImeevMA committed Aug 25, 2023
1 parent 44a6821 commit 96f31aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions changelogs/unreleased/ghe-523-max-config-param-length.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## feature/app

* The maximum length of box.cfg{} string parameters is now 512 instead of 256 (tarantool-ee/gh-523).
2 changes: 1 addition & 1 deletion src/cfg.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include "tt_static.h"
#include "lua/uri.h"

enum { MAX_OPT_NAME_LEN = 256, MAX_OPT_VAL_LEN = 256 };
enum { MAX_OPT_NAME_LEN = 256, MAX_OPT_VAL_LEN = 512 };

static void
cfg_get(const char *param)
Expand Down

0 comments on commit 96f31aa

Please sign in to comment.