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
d109b419
Commit
d109b419
authored
Sep 11, 2020
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: Mention remaining VCL changes
Leaving out any change that is solely a bug fix on purpose.
parent
25c7cc5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
2 deletions
+22
-2
changes-trunk.rst
doc/sphinx/whats-new/changes-trunk.rst
+22
-2
No files found.
doc/sphinx/whats-new/changes-trunk.rst
View file @
d109b419
...
...
@@ -38,6 +38,21 @@ Changes to VCL
VCL variables
~~~~~~~~~~~~~
A new ``obj.can_esi`` variable has been added to identify whether the response
can be ESI processed.
Once ``resp.filters`` is explicitly set, trying to set a ``resp.do_*`` field
results in a VCL failure. The same rule applies to ``beresp.filters`` and
``beresp.do_*`` fields.
The ``BACKEND`` VCL type now has a ``.resolve()`` method to find the effective
backend directly from VCL. When a director is selected, the resolution would
otherwise be delayed until after returning from ``vcl_backend_fetch`` or
``vcl_pipe``::
# eager backend selection
set bereq.backend = bereq.backend.resolve();
It is now possible to manually set a ``Connection: close`` header in
``beresp`` to signal that the backend connection shouldn't be recycled.
This might help dealing with backends that would under certain circumstances
...
...
@@ -57,11 +72,16 @@ header::
}
}
**XXX new, deprecated or removed variables, or changed semantics**
Other changes to VCL
~~~~~~~~~~~~~~~~~~~~
A failure in ``vcl_recv`` could resume execution in ``vcl_hash`` before
effectively ending the transaction, this has been corrected. A failure in
``vcl_recv`` is now definitive.
There is a new syntax for ``BLOB`` literals: ``:<base64>:``. This syntax is
also used to automatically cast a blob into a string.
VMODs
=====
...
...
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