Commit 8f11b8e6 authored by Geoff Simmons's avatar Geoff Simmons

Add an HTTP/2 test to e32.vtc.

parent 8e4b3f8f
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment