waf: run the trap paths, rule files and Core Rule Set during the GeoJS wait (closes #405) #408

Merged
clawbot merged 5 commits from issue-405-decide-beside-lookup into next 2026-11-17 06:11:53 +01:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit 0e5a5b468c - Show all commits

No files matched your search

+1 -1
View File
@@ -70,7 +70,7 @@ func (rq *request) runBesideLookup(
case result := <-lookedUp:
lookedUp = nil
v := rq.afterLookUp(ctx, result)
v := rq.runAfterLookup(ctx, result)
if v != nil {
return v
}
+3 -3
View File
@@ -242,7 +242,7 @@ func (rq *request) checkClient(ctx context.Context) *verdict {
select {
case result := <-lookedUp:
v := rq.afterLookUp(ctx, result)
v := rq.runAfterLookup(ctx, result)
if v != nil {
return v
}
@@ -253,10 +253,10 @@ func (rq *request) checkClient(ctx context.Context) *verdict {
}
}
// afterLookUp notes result, the lookup's, and runs the heuristics of
// runAfterLookup notes result, the lookup's, and runs the heuristics of
// afterLookup. It returns the first verdict, or nil when none gives one. ctx is
// the request's own context.
func (rq *request) afterLookUp(
func (rq *request) runAfterLookup(
ctx context.Context, result lookupResult,
) *verdict {
rq.noteLookup(result)