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
2ddc91fa
Commit
2ddc91fa
authored
Feb 18, 2014
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make bereq.* vars available in vcl_backend_error{}
parent
fb97c67b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
28 deletions
+28
-28
generate.py
lib/libvcc/generate.py
+28
-28
No files found.
lib/libvcc/generate.py
View file @
2ddc91fa
...
...
@@ -367,36 +367,36 @@ The client's IP address.
),
(
'beresp.proto'
,
'STRING'
,
(
'backend_response'
,),
(
'backend_response'
,),
"""
(
'backend_response'
,
'backend_error'
),
(
'backend_response'
,
'backend_error'
),
"""
The HTTP protocol version used the backend replied with.
"""
),
(
'beresp.status'
,
'INT'
,
(
'backend_response'
,),
(
'backend_response'
,),
"""
(
'backend_response'
,
'backend_error'
),
(
'backend_response'
,
'backend_error'
),
"""
The HTTP status code returned by the server.
"""
),
(
'beresp.reason'
,
'STRING'
,
(
'backend_response'
,),
(
'backend_response'
,),
"""
(
'backend_response'
,
'backend_error'
),
(
'backend_response'
,
'backend_error'
),
"""
The HTTP status message returned by the server.
"""
),
(
'beresp.http.'
,
'HEADER'
,
(
'backend_response'
,),
(
'backend_response'
,),
"""
(
'backend_response'
,
'backend_error'
),
(
'backend_response'
,
'backend_error'
),
"""
The corresponding HTTP header.
"""
),
(
'beresp.do_esi'
,
'BOOL'
,
(
'backend_response'
,),
(
'backend_response'
,),
"""
(
'backend_response'
,
'backend_error'
),
(
'backend_response'
,
'backend_error'
),
"""
Boolean. ESI-process the object after fetching it.
Defaults to false. Set it to true to parse the
object for ESI directives. Will only be honored if
...
...
@@ -405,8 +405,8 @@ The client's IP address.
),
(
'beresp.do_stream'
,
'BOOL'
,
(
'backend_response'
,),
(
'backend_response'
,),
"""
(
'backend_response'
,
'backend_error'
),
(
'backend_response'
,
'backend_error'
),
"""
Deliver the object to the client directly without
fetching the whole object into varnish. If this
request is pass'ed it will not be stored in memory.
...
...
@@ -416,8 +416,8 @@ The client's IP address.
),
(
'beresp.do_gzip'
,
'BOOL'
,
(
'backend_response'
,),
(
'backend_response'
,),
"""
(
'backend_response'
,
'backend_error'
),
(
'backend_response'
,
'backend_error'
),
"""
Boolean. Gzip the object before storing it. Defaults
to false. When http_gzip_support is on Varnish will
request already compressed content from the backend
...
...
@@ -426,57 +426,57 @@ The client's IP address.
),
(
'beresp.do_gunzip'
,
'BOOL'
,
(
'backend_response'
,),
(
'backend_response'
,),
"""
(
'backend_response'
,
'backend_error'
),
(
'backend_response'
,
'backend_error'
),
"""
Boolean. Unzip the object before storing it in the
cache. Defaults to false.
"""
),
(
'beresp.uncacheable'
,
'BOOL'
,
(
'backend_response'
,),
(
'backend_response'
,),
"""
(
'backend_response'
,
'backend_error'
),
(
'backend_response'
,
'backend_error'
),
"""
"""
),
(
'beresp.ttl'
,
'DURATION'
,
(
'backend_response'
,),
(
'backend_response'
,),
"""
(
'backend_response'
,
'backend_error'
),
(
'backend_response'
,
'backend_error'
),
"""
The object's remaining time to live, in seconds.
beresp.ttl is writable.
"""
),
(
'beresp.grace'
,
'DURATION'
,
(
'backend_response'
,),
(
'backend_response'
,),
"""
(
'backend_response'
,
'backend_error'
),
(
'backend_response'
,
'backend_error'
),
"""
Set to a period to enable grace.
"""
),
(
'beresp.keep'
,
'DURATION'
,
(
'backend_response'
,),
(
'backend_response'
,),
"""
(
'backend_response'
,
'backend_error'
),
(
'backend_response'
,
'backend_error'
),
"""
"""
),
(
'beresp.backend.name'
,
'STRING'
,
(
'backend_response'
,),
(
'backend_response'
,
'backend_error'
),
(
),
"""
Name of the backend this response was fetched from.
"""
),
(
'beresp.backend.ip'
,
'IP'
,
(
'backend_response'
,),
(
'backend_response'
,
'backend_error'
),
(
),
"""
IP of the backend this response was fetched from.
"""
),
(
'beresp.storage_hint'
,
'STRING'
,
(
'backend_response'
,),
(
'backend_response'
,),
"""
(
'backend_response'
,
'backend_error'
),
(
'backend_response'
,
'backend_error'
),
"""
Hint to Varnish that you want to save this object to a
particular storage backend.
"""
...
...
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