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
bd74e05a
Commit
bd74e05a
authored
Feb 21, 2018
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Verify outputs of varnishncsa -b when UDS addresses are in use.
parent
2b874fe7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
3 deletions
+14
-3
u00013.vtc
bin/varnishtest/tests/u00013.vtc
+14
-3
No files found.
bin/varnishtest/tests/u00013.vtc
View file @
bd74e05a
varnishtest "varnishncsa outputs when UDS addresses are in use"
# The
-c %h formatter gets its value from ReqStart, which now may be
#
0.0.0.0 for
a UDS address.
# The
%h formatter gets its value from ReqStart or BackendStart,
#
which now may be
a UDS address.
server s1 {
# For UDS backends without a .hosthdr setting, the Host header is
# set to "localhost", which may appear in %r output.
server s1 -listen "${tmpdir}/s1.sock" {
rxreq
txresp
} -start
...
...
@@ -22,3 +25,11 @@ shell -expect "0.0.0.0" {
shell -expect "http://localhost/" {
varnishncsa -n ${v1_name} -d -c -F "%r"
}
shell -expect "0.0.0.0" {
varnishncsa -n ${v1_name} -d -b -F "%h"
}
shell -expect "http://0.0.0.0/" {
varnishncsa -n ${v1_name} -d -b -F "%r"
}
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