waf: the server's types and constructor in waf.go, active_ban in its own file (closes #435) #480

Merged
clawbot merged 1 commits from issue-435-waf-file-layout into next 2026-11-20 03:26:58 +01:00
1 Commits
Author SHA1 Message Date
clawbot eca8f4d8cc waf: the server's types and constructor in waf.go, active_ban in its own file (closes #435)
check / check (push) Waiting to run
Moves only. waf.go now holds the package comment, Params, Server, New,
newHandler, handler and ServeHTTP. The code that answers questions and
takes reports moves to questionsandreports.go, and activeBan to
activeban.go. refusedWhateverTheAnswer moves to lookup.go, beside its
only caller. proxy.go is gone. The only changed lines are imports and
the file comment of bans.go, split between it and activeban.go.

Model: opus-5-5
2026-11-20 01:54:31 +00:00