waf: one Cookie line, and a 500 ms GeoJS wait (closes #401) #403

Closed
clawbot wants to merge 2 commits from issue-401-one-cookie-line into next
pull from: issue-401-one-cookie-line
2 Commits
Author SHA1 Message Date
clawbot 01a8a7aa08 waf: one Cookie line, and a 500 ms GeoJS wait (closes #401)
check / check (push) Failing after 14m7s
A browser sends all its cookies on one Cookie line (RFC 6265), and Go's
server joins HTTP/2 Cookie lines into one, so waf now refuses a second
line with 431. Further lines only gave a visitor more bytes for the Core
Rule Set to read. The refusal logs cookie_lines and cookie_lines_limit.

The default of SWW_WAF_ASN_AND_COUNTRY_LOOKUP_TIMEOUT_MS drops from 800
to 500 milliseconds, so the Core Rule Set's share of rproxy's 2 seconds
grows from 1 to 1.3 seconds. The slowest worst-case request takes about
0.84 seconds of processor time with every core busy.

Model: opus-5-5
2026-11-16 22:15:13 +00:00
clawbot 988f117ef3 Check builds use Docker's normal cache
check / check (push) Failing after 1m53s
Drop --no-cache from every docker build in script/: an unchanged tree
needs no rerun.

Model: opus-5-5
2026-11-16 21:48:28 +00:00