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
093b1123
Commit
093b1123
authored
Aug 06, 2015
by
Federico G. Schwindt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix synth handling and update docs
error has been long retired.
parent
fbd72950
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
varnishncsa.c
bin/varnishncsa/varnishncsa.c
+3
-3
varnishncsa.rst
doc/sphinx/reference/varnishncsa.rst
+1
-1
No files found.
bin/varnishncsa/varnishncsa.c
View file @
093b1123
...
...
@@ -879,12 +879,12 @@ dispatch_f(struct VSL_data *vsl, struct VSL_transaction * const pt[],
}
else
if
(
!
strcasecmp
(
b
,
"pass"
))
{
CTX
.
hitmiss
=
"miss"
;
CTX
.
handling
=
"pass"
;
}
else
if
(
!
strcasecmp
(
b
,
"
error
"
))
{
/* Arguably,
error
isn't a hit or
}
else
if
(
!
strcasecmp
(
b
,
"
synth
"
))
{
/* Arguably,
synth
isn't a hit or
a miss, but miss is less
wrong */
CTX
.
hitmiss
=
"miss"
;
CTX
.
handling
=
"
error
"
;
CTX
.
handling
=
"
synth
"
;
}
break
;
case
SLT_VCL_return
:
...
...
doc/sphinx/reference/varnishncsa.rst
View file @
093b1123
...
...
@@ -119,7 +119,7 @@ Supported formatters are:
Varnish:handling
How the request was handled, whether it was a cache hit, miss,
pass, pipe or
error
.
pass, pipe or
synth
.
VCL_Log:key
Output value set by std.log("key:value") in VCL.
...
...
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