Commit b1b826de authored by Geoff Simmons's avatar Geoff Simmons

Move some "misc" items in the release docs from VCL to varnishd changes.

parent 7d7ff24a
...@@ -117,29 +117,16 @@ test VFPs implemented in VMODs. Over time we hope that an "ecology" of ...@@ -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 VFP code will develop that will enrich the features available to
Varnish deployments. Varnish deployments.
Other changes Other changes to VCL
~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~
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.
Varnish now won't rewrite the content-length header when responding to * The ``Host`` header is mandatory for HTTP/1.1, as proscribed by the
any HEAD request, making it possible to cache responses to HEAD HTTP standard. If it is missing, then ``builtin.vcl`` causes a
requests independently from the GET responses (previously a HEAD synthetic 400 "Bad request" response to be returned.
request had to be a pass to avoid this rewriting).
You can now provide a string argument to ``return(fail("Foo!"))``, * 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 which can be used in ``vcl_init`` to emit an error message if the
load fails due to the return. 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.
VMODs VMODs
===== =====
...@@ -166,7 +153,19 @@ Other changes ...@@ -166,7 +153,19 @@ Other changes
example when a symbol is not found or arguments to VMOD calls are example when a symbol is not found or arguments to VMOD calls are
missing. 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)``: * ``varnishlog(1)`` and ``vsl(7)``:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment