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
016d66a0
Commit
016d66a0
authored
Jul 22, 2014
by
Lasse Karstensen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document the new return(retry).
Backend restarts are now return(retry). Fixes: #1503
parent
db226a9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
upgrading.rst
doc/sphinx/whats-new/upgrading.rst
+12
-0
No files found.
doc/sphinx/whats-new/upgrading.rst
View file @
016d66a0
...
...
@@ -164,6 +164,18 @@ following has changed:
- `vcl_hash` must now return `lookup` instead of `hash`
- `vcl_pass` must now return `fetch` instead of `pass`
Backend restarts are now retry
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In 3.0 it was possible to do `return(restart)` after noticing that
the backend response was wrong, to change to a different backend.
This is now called `return(retry)`, and jumps back up to `vcl_backend_fetch`.
This only influences the backend fetch thread, client-side handling is not affected.
default/builtin VCL changes
~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
...
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