Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvdp-pesi
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
uplex-varnish
libvdp-pesi
Commits
ea91ade1
Commit
ea91ade1
authored
Jul 31, 2019
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add an HTTP/2 test for e11.vtc.
parent
31790959
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
7 deletions
+39
-7
e00011.vtc
src/tests/e00011.vtc
+39
-7
No files found.
src/tests/e00011.vtc
View file @
ea91ade1
varnishtest "Make sure that PASS'ed ESI requests use GET for includes"
server s1 {
rxreq
expect req.method == POST
expect req.url == /foobar
txresp -body {<HTML>
loop 2 {
rxreq
expect req.method == POST
expect req.url == /foobar
txresp -body {<HTML>
FOO
<esi:include src="/bar"/>
}
rxreq
expect req.method == GET
txresp -hdr "Set-Cookie: Foo=bar" -body {<HTML>
rxreq
expect req.method == GET
txresp -hdr "Set-Cookie: Foo=bar" -body {<HTML>
BAR
}
}
} -start
varnish v1 -vcl+backend {
...
...
@@ -37,5 +39,35 @@ client c1 {
rxresp
expect resp.status == 200
expect resp.bodylen == 31
expect resp.body == {<HTML>
FOO
<HTML>
BAR
}
} -run
varnish v1 -expect esi_errors == 0
## HTTP/2
varnish v1 -cliok "param.set feature +http2"
client c1 {
stream 1 {
txreq -req POST -url /foobar -body {
A debugged program is one for which you have
not yet found the conditions that make it fail.
-- Jerry Ogdin
}
rxwinup
rxresp
expect resp.status == 200
expect resp.bodylen == 31
expect resp.body == {<HTML>
FOO
<HTML>
BAR
}
} -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