aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2026-06-20 04:29:53 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2026-06-20 04:29:53 +0000
commit08eff41588280da464577e94b913e1d4f3571a3a (patch)
tree49a96b802f889e4e1af2aed2bc16caf4922a6afb
parentbc3593e63f237be229157693221a8c0783928ef8 (diff)
downloadtipidee-08eff41588280da464577e94b913e1d4f3571a3a.tar.gz
Fix parsing of autochunk and realtime in config
-rw-r--r--src/config/lexparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/lexparse.c b/src/config/lexparse.c
index b8d8a5d..b9136ad 100644
--- a/src/config/lexparse.c
+++ b/src/config/lexparse.c
@@ -367,7 +367,7 @@ static inline void parse_rproxy (char const *s, size_t const *word, size_t n, ch
static void parse_bitattr (char const *s, size_t const *word, size_t n, char const *domain, size_t domainlen, mdt const *md, uint8_t bit, int h)
{
- static char const *const attr[4][2] = { { "noncgi", "cgi" }, { "nonnph", "nph", }, { "noauth", "basic-auth" }, { "norealtime", "realtime" } } ;
+ static char const *const attr[5][2] = { { "noncgi", "cgi" }, { "nonnph", "nph" }, { "noauth", "basic-auth" }, { "noautochunk", "autochunk" }, { "norealtime", "realtime" } } ;
if (n != 1)
strerr_dief8x(1, "too ", n > 1 ? "many" : "few", " arguments to directive ", attr[bit][h], " in file ", g.storage.s + md->filepos, " line ", md->linefmt) ;
if (!domain)