Increase max config line length

This makes the theoretical upper server limit 16383 servers with each
having a 1023 character name.
This commit is contained in:
Markus Mäkelä
2018-08-14 21:43:32 +03:00
parent f82c965bfb
commit 3e0086cd09
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ divided into several sections.
In versions 2.1.2 and earlier, the configuration files are limited to 1024
characters per line. This limitation was increased to 16384 characters in
MaxScale 2.1.3.
MaxScale 2.1.3. MaxScale 2.3.0 increased this limit to 16777216 characters.
In versions 2.2.12 and earlier, the section names in the configuration files
were limited to 49 characters. This limitation was increased to 1023 characters

View File

@ -1,2 +1,2 @@
add_definitions(-DINI_MAX_LINE=16384 -DINI_USE_STACK=0 -DINI_ALLOW_MULTILINE)
add_definitions(-DINI_MAX_LINE=16777216 -DINI_USE_STACK=0 -DINI_ALLOW_MULTILINE)
add_library(inih ini.c)