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
26baff9d
Commit
26baff9d
authored
Aug 29, 2017
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document status quo regarding req.backend_hint and restarts
Related to #2305
parent
d06028a1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
vcl-actions.rst
doc/sphinx/users-guide/vcl-actions.rst
+2
-1
generate.py
lib/libvcc/generate.py
+2
-0
No files found.
doc/sphinx/users-guide/vcl-actions.rst
View file @
26baff9d
...
...
@@ -31,7 +31,8 @@ The most common actions to return are these:
*restart*
Restart processing of the request. You can restart the processing of
the whole transaction. Changes to the `req` object are retained.
the whole transaction. Changes to the `req` object are retained, except
for `req.backend_hint`, which gets reset to the default backend.
*retry*
Retry the request against the backend. This can be returned from
...
...
lib/libvcc/generate.py
View file @
26baff9d
...
...
@@ -330,6 +330,8 @@ sp_variables = [
or the director otherwise.
When used in string context, returns the name of the director
or backend, respectively.
Note: backend_hint gets reset to the default backend by
restarts!
"""
),
(
'req.hash_ignore_busy'
,
...
...
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