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
8f11b8e6
Commit
8f11b8e6
authored
Aug 01, 2019
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add an HTTP/2 test to e32.vtc.
parent
8e4b3f8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
4 deletions
+22
-4
e00032.vtc
src/tests/e00032.vtc
+22
-4
No files found.
src/tests/e00032.vtc
View file @
8f11b8e6
varnishtest "Exercise ESI+gzip in pass mode"
server s1 {
rxreq
txresp -gzipbody {<esi:include src="/foo"/>}
rxreq
txresp -gzipbody "foo"
loop 2 {
rxreq
txresp -gzipbody {<esi:include src="/foo"/>}
rxreq
txresp -gzipbody "foo"
}
} -start
varnish v1 -vcl+backend {
...
...
@@ -30,3 +32,19 @@ client c1 {
expect resp.bodylen == 3
expect resp.body == "foo"
} -run
## HTTP/2
varnish v1 -cliok "param.set feature +http2"
## See comments in e23.vtc about limitations using vtc to test
## gzipped H2 responses.
client c1 {
stream 1 {
txreq -hdr accept-encoding gzip
rxresp
expect resp.http.content-encoding == gzip
expect resp.status == 200
} -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