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
b1b826de
Commit
b1b826de
authored
Sep 10, 2018
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move some "misc" items in the release docs from VCL to varnishd changes.
parent
7d7ff24a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
22 deletions
+21
-22
upgrading-6.1.rst
doc/sphinx/whats-new/upgrading-6.1.rst
+21
-22
No files found.
doc/sphinx/whats-new/upgrading-6.1.rst
View file @
b1b826de
...
...
@@ -117,29 +117,16 @@ test VFPs implemented in VMODs. Over time we hope that an "ecology" of
VFP code will develop that will enrich the features available to
Varnish deployments.
Other changes
~~~~~~~~~~~~~
The ``Host`` header is mandatory for HTTP/1.1, as proscribed by the
HTTP standard. If it is missing, then ``builtin.vcl`` causes a
synthetic 400 "Bad request" response to be returned.
Other changes to VCL
~~~~~~~~~~~~~~~~~~~~
Varnish now won't rewrite the content-length header when responding to
any HEAD request, making it possible to cache responses to HEAD
requests independently from the GET responses (previously a HEAD
request had to be a pass to avoid this rewriting).
* The ``Host`` header is mandatory for HTTP/1.1, as proscribed by the
HTTP standard. If it is missing, then ``builtin.vcl`` causes a
synthetic 400 "Bad request" response to be returned.
You can now provide a string argument to ``return(fail("Foo!"))``,
which can be used in ``vcl_init`` to emit an error message if the VCL
load fails due to the return.
If you have set ``.proxy_header=1`` (to use the PROXYv1 protocol) for
a backend addressed as a Unix domain socket (with a ``.path`` setting
for the socket file), and have also defined a probe for the backend,
then then the address family ``UNKNOWN`` is sent in the proxy header
for the probe request. If you have set ``.proxy_header=2`` (for
PROXYv2) for a UDS backend with a probe, then ``PROXY LOCAL`` is sent
for the probe request.
* You can now provide a string argument to ``return(fail("Foo!"))``,
which can be used in ``vcl_init`` to emit an error message if the
VCL load fails due to the return.
VMODs
=====
...
...
@@ -166,7 +153,19 @@ Other changes
example when a symbol is not found or arguments to VMOD calls are
missing.
* **XXX**
* Varnish now won't rewrite the ``Content-Length`` header when
responding to any HEAD request, making it possible to cache
responses to HEAD requests independently from the GET responses
(previously a HEAD request had to be a pass to avoid this
rewriting).
* If you have set ``.proxy_header=1`` (to use the PROXYv1 protocol)
for a backend addressed as a Unix domain socket (with a ``.path``
setting for the socket file), and have also defined a probe for
the backend, then then the address family ``UNKNOWN`` is sent in
the proxy header for the probe request. If you have set
``.proxy_header=2`` (for PROXYv2) for a UDS backend with a probe,
then ``PROXY LOCAL`` is sent for the probe request.
* ``varnishlog(1)`` and ``vsl(7)``:
...
...
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