diff --git a/doc/changes.rst b/doc/changes.rst index 360cb180a54..5f920f8e658 100644 --- a/doc/changes.rst +++ b/doc/changes.rst @@ -41,6 +41,10 @@ Varnish Cache NEXT (2025-03-15) .. PLEASE keep this roughly in commit order as shown by git-log / tig (new to old) +* The scope of VCL variables `req.is_hitmiss` and `req.is_hitpass` is now restricted + to `vcl_miss, vcl_deliver, vcl_pass, vcl_synth` and `vcl_pass, vcl_deliver, vcl_synth` + respectively. + ================================ Varnish Cache 7.6.0 (2024-09-13) ================================ diff --git a/doc/sphinx/reference/vcl_var.rst b/doc/sphinx/reference/vcl_var.rst index e895753b2d1..82b3fd99062 100644 --- a/doc/sphinx/reference/vcl_var.rst +++ b/doc/sphinx/reference/vcl_var.rst @@ -381,7 +381,7 @@ req.is_hitmiss Type: BOOL - Readable from: client + Readable from: vcl_miss, vcl_deliver, vcl_pass, vcl_synth If this request resulted in a hitmiss @@ -392,7 +392,7 @@ req.is_hitpass Type: BOOL - Readable from: client + Readable from: vcl_pass, vcl_deliver, vcl_synth If this request resulted in a hitpass