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
c3c5596f
Commit
c3c5596f
authored
Dec 19, 2017
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
break up long lines for legibility
parent
5bb52ba2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
c00016.vtc
bin/varnishtest/tests/c00016.vtc
+10
-3
No files found.
bin/varnishtest/tests/c00016.vtc
View file @
c3c5596f
...
@@ -11,7 +11,9 @@ server s1 {
...
@@ -11,7 +11,9 @@ server s1 {
expect req.url == "/bar"
expect req.url == "/bar"
expect req.http.Foo == <undef>
expect req.http.Foo == <undef>
expect req.http.FromVCL == "123"
expect req.http.FromVCL == "123"
txresp -hdr "Bar: fnry,glyf, FOO ,brok" -hdr "Connection: bar" -body "foobar"
txresp -hdr "Bar: fnry,glyf, FOO ,brok" \
-hdr "Connection: bar" \
-body "foobar"
} -start
} -start
varnish v1 -vcl+backend {
varnish v1 -vcl+backend {
...
@@ -25,13 +27,18 @@ client c1 {
...
@@ -25,13 +27,18 @@ client c1 {
rxresp
rxresp
expect resp.http.Bar == "foo"
expect resp.http.Bar == "foo"
txreq -url "/bar" -hdr "Foo: bar2" -hdr "Connection: FromVCL, foo, close"
txreq -url "/bar" \
-hdr "Foo: bar2" \
-hdr "Connection: FromVCL, foo, close"
rxresp
rxresp
expect req.http.Bar == <undef>
expect req.http.Bar == <undef>
} -run
} -run
client c1 {
client c1 {
txreq -url "/bar" -hdr "foo: 1" -hdr "Age: 200" -hdr "Connection: Age"
txreq -url "/bar" \
-hdr "foo: 1" \
-hdr "Age: 200" \
-hdr "Connection: Age"
rxresp
rxresp
expect resp.status == 400
expect resp.status == 400
} -run
} -run
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