Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
b73c8827
Commit
b73c8827
authored
Mar 04, 2019
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
document removed return(miss) from vcl_hit
Ref #2859 #1799
parent
b10f2a6f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
changes-trunk.rst
doc/sphinx/whats-new/changes-trunk.rst
+4
-0
upgrading-trunk.rst
doc/sphinx/whats-new/upgrading-trunk.rst
+9
-0
No files found.
doc/sphinx/whats-new/changes-trunk.rst
View file @
b73c8827
...
...
@@ -78,6 +78,10 @@ component listening at the socket, or set the socket's permissions,
after starting Varnish or loading VCL. If the socket still cannot be
accessed when a fetch is attempted, then the fetch fails.
``return(miss)`` from ``vcl_hit{}`` did never work as intended for the
common case (it actually turned into a pass), so we now removed it and
changed the ``builtin.vcl``.
VMODs
=====
...
...
doc/sphinx/whats-new/upgrading-trunk.rst
View file @
b73c8827
...
...
@@ -44,6 +44,15 @@ listening at the socket, or set its permissions, after Varnish starts
or the VCL is loaded. Backend fetches fail if the socket is not
accessible by the time the fetch is attempted.
``return(miss)`` from ``vcl_hit{}`` is now removed. Options to
implement similar functionality are:
* a vmod using the new *catflap* mechanism
* ``return (restart)`` from ``vcl_hit{}`` and ``set
req.hash_always_miss = true;`` in ``vcl_recv{}`` for the restart.
Runtime parameters
==================
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment