waf: the verdict comment no longer reads as banning nothing
check / check (push) Failing after 1m41s

The doc comment of verdict said a verdict of afterAnswer or onReport
"bans and refuses nothing", which reads as banning nothing, while
refusalLimit and byteLimits give one only when they ban. It now says
that such a verdict refuses nothing.

Model: opus-5-5
This commit is contained in:
sneak committed 2026-11-20 00:54:42 +00:00
1 parent c61f054e50
commit 55216c34c6
1 file changed
+1 -1
+1 -1
View File
@@ -45,7 +45,7 @@ type refusesWithoutLookup interface {
// the log line names, the status the visitor is answered with, and the figures
// the heuristic acted on, by name, such as the count and the limit. A status of
// 0 closes the visitor's connection without an answer. A verdict of afterAnswer
// or onReport bans and refuses nothing, and has neither action nor status.
// or onReport refuses nothing, and has neither action nor status.
type verdict struct {
action requestlog.Action
status int