summaryrefslogtreecommitdiff
path: root/src/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/config')
-rw-r--r--src/config/defaults.c3
-rw-r--r--src/config/lexparse.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/config/defaults.c b/src/config/defaults.c
index dfc13f2..7dbab8a 100644
--- a/src/config/defaults.c
+++ b/src/config/defaults.c
@@ -23,8 +23,9 @@ static struct defaults_s const defaults[] =
RECU32("G:cgi_timeout", 0),
RECU32("G:max_request_body_length", 8192),
RECU32("G:max_cgi_body_length", 4194304),
- RECS("G:index-file", "index.html"),
RECU32("G:logv", TIPIDEE_LOG_DEFAULT),
+ RECU32("G:executable_means_cgi", 0),
+ RECS("G:index-file", "index.html"),
RECS("T:html", "text/html"),
RECS("T:htm", "text/html"),
diff --git a/src/config/lexparse.c b/src/config/lexparse.c
index afd22a5..799b17f 100644
--- a/src/config/lexparse.c
+++ b/src/config/lexparse.c
@@ -98,6 +98,7 @@ static inline void parse_global (char const *s, size_t const *word, size_t n, md
static char const *const globalkeys[] =
{
"cgi_timeout",
+ "executable_means_cgi",
"max_cgi_body_length",
"max_request_body_length",
"read_timeout",
@@ -536,7 +537,7 @@ static inline char next (buffer *b, mdt const *md)
void conf_lexparse (buffer *b, char const *ifile)
{
- static uint8_t const table[4][5] = /* see PARSING.txt */
+ static uint8_t const table[4][5] = /* see PARSING-config.txt */
{
{ 0x04, 0x02, 0x01, 0x80, 0x33 },
{ 0x04, 0x01, 0x01, 0x80, 0x01 },