Skip to content

Commit

Permalink
param: Introduce new ban_any_variant parameter
Browse files Browse the repository at this point in the history
This will control the number of object variants that we evaluate
against the ban list before looking for a vary match.

Refs: varnishcache#4236
  • Loading branch information
walid-git committed Jan 15, 2025
1 parent c412418 commit be994fe
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions include/tbl/params.h
Original file line number Diff line number Diff line change
Expand Up @@ -721,6 +721,20 @@ PARAM_SIMPLE(
/* flags */ EXPERIMENTAL
)

PARAM_SIMPLE(
/* name */ ban_any_variant,
/* type */ uint,
/* min */ "0",
/* max */ NULL,
/* def */ "10000",
/* units */ "checks",
/* descr */
"Maximum number of possibly non matching variants that we evaluate "
"against the ban list during a lookup.\n"
"Setting this to 0 means that only the matching variants will be "
"evaluated against the current ban list."
)

PARAM_SIMPLE(
/* name */ max_esi_depth,
/* type */ uint,
Expand Down

0 comments on commit be994fe

Please sign in to comment.