summaryrefslogtreecommitdiff
path: root/src/config
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-12-15 10:35:41 +0000
committerLaurent Bercot <ska@appnovation.com>2023-12-15 10:35:41 +0000
commitd2959364ef8d6bc948474a8facf497788b4e768b (patch)
treee1459c1c94e9b7556c21c0b43d7144a162601b0a /src/config
parent66844097454a8f2b4eddec64d4f276602c4cdd3a (diff)
downloadtipidee-d2959364ef8d6bc948474a8facf497788b4e768b.tar.xz
Prepare for 0.0.3.0; add XXX_no_translate
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/config')
-rw-r--r--src/config/defaults.c1
-rw-r--r--src/config/lexparse.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/config/defaults.c b/src/config/defaults.c
index 7dbab8a..18dfa7e 100644
--- a/src/config/defaults.c
+++ b/src/config/defaults.c
@@ -25,6 +25,7 @@ static struct defaults_s const defaults[] =
RECU32("G:max_cgi_body_length", 4194304),
RECU32("G:logv", TIPIDEE_LOG_DEFAULT),
RECU32("G:executable_means_cgi", 0),
+ RECU32("G:XXX_no_translate", 0),
RECS("G:index-file", "index.html"),
RECS("T:html", "text/html"),
diff --git a/src/config/lexparse.c b/src/config/lexparse.c
index 99eeaa0..d5fcf6d 100644
--- a/src/config/lexparse.c
+++ b/src/config/lexparse.c
@@ -97,6 +97,7 @@ static inline void parse_global (char const *s, size_t const *word, size_t n, md
{
static char const *const globalkeys[] =
{
+ "XXX_no_translate",
"cgi_timeout",
"executable_means_cgi",
"max_cgi_body_length",