Commit af661afb authored by Geoff Simmons's avatar Geoff Simmons

Add an HTTP/2 test for e13.vtc.

parent 78d0f4ba
varnishtest "All white-space object, in multiple storage segments"
server s1 {
rxreq
expect req.url == "/foo"
txresp -nolen -hdr "Transfer-Encoding: chunked"
chunked {<x> }
chunkedlen 0
loop 2 {
rxreq
expect req.url ~ {^/foo\d$}
txresp -nolen -hdr "Transfer-Encoding: chunked"
chunked {<x> }
chunkedlen 0
}
} -start
varnish v1 -vcl+backend {
......@@ -23,8 +25,24 @@ varnish v1 -vcl+backend {
varnish v1 -cliok "debug.fragfetch 4"
client c1 {
txreq -url /foo
txreq -url /foo1
rxresp
expect resp.bodylen == 41
expect resp.body == {<x> }
} -run
varnish v1 -expect esi_errors == 0
## HTTP/2
varnish v1 -cliok "param.set feature +http2"
client c1 {
stream 1 {
txreq -url /foo2
rxresp
expect resp.status == 200
expect resp.bodylen == 41
expect resp.body == {<x> }
} -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