diff --git a/changelogs/unreleased/ghe-523-max-config-param-length.md b/changelogs/unreleased/ghe-523-max-config-param-length.md new file mode 100644 index 0000000000000..b3ceef8a98457 --- /dev/null +++ b/changelogs/unreleased/ghe-523-max-config-param-length.md @@ -0,0 +1,3 @@ +## feature/app + +* The maximum length of box.cfg{} string parameters is now 512 instead of 256 (tarantool-ee/gh-523). diff --git a/src/cfg.c b/src/cfg.c index 3f0f3eec87aeb..dd6e6a22e6d07 100644 --- a/src/cfg.c +++ b/src/cfg.c @@ -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)